disp: msm: sde: dynamic lm reservation for secondary disp

Primary and secondary displays should have first priority
when reserving lms. Static reservation can potentially block
higher resolutions for the required displays. This patch gets
the layer mixer requirement for primary or secondary display
if available. It reserves those layer mixers dynamically
for the respective display when connector is registered.

Change-Id: Id69dac4c72d6b20008049f4aeb71c0f97d0a426b
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
此提交包含在:
Nilaan Gunabalachandran
2019-05-02 12:06:25 -04:00
提交者 Gerrit - the friendly Code Review server
父節點 06f8bcc142
當前提交 52855c704a
共有 10 個檔案被更改,包括 100 行新增45 行删除

查看文件

@@ -486,7 +486,7 @@ struct msm_mode_info {
* @max_height: Max height of display. In case of hot pluggable display
* this is max height supported by controller
* @clk_rate: DSI bit clock per lane in HZ.
* @is_primary: Set to true if display is primary display
* @display_type: Enum for type of display
* @is_te_using_watchdog_timer: Boolean to indicate watchdog TE is
* used instead of panel TE in cmd mode panels
* @roi_caps: Region of interest capability info
@@ -509,7 +509,7 @@ struct msm_display_info {
uint32_t max_height;
uint64_t clk_rate;
bool is_primary;
uint32_t display_type;
bool is_te_using_watchdog_timer;
struct msm_roi_caps roi_caps;