disp: msm: dp: Extend mode filtering to support 8K
Currently DP driver determines if a mode is DSC capable based on a DTSI entry and the required number of DSC to support it. This approach does not scale when there is an overlap in DSC requirement between DSI displays and external DP display, thus causing one of the display to report modes that cannot be supported. This change compares the resources reserved for DP driver calculated at initialization time and the currently available ones to determine the correct number of resources that DP driver can use. It also adds DSC and topology filtering logic and moves DSC hardware specific from DP driver to SDE driver. Change-Id: I8e601de33422b7c6d786826f7bfe152c4af8a6b5 Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
@@ -195,8 +195,6 @@ static inline char *dp_phy_aux_config_type_to_string(u32 cfg_type)
|
||||
* @gpio_aux_switch: presence GPIO AUX switch status
|
||||
* @dsc_feature_enable: DSC feature enable status
|
||||
* @fec_feature_enable: FEC feature enable status
|
||||
* @max_dp_dsc_blks: maximum DSC blks for DP interface
|
||||
* @max_dp_dsc_input_width_pixs: Maximum input width for DSC block
|
||||
* @has_widebus: widebus (2PPC) feature eanble status
|
||||
*@mst_fixed_port: mst port_num reserved for fixed topology
|
||||
* @parse: function to be called by client to parse device tree.
|
||||
@@ -225,8 +223,6 @@ struct dp_parser {
|
||||
bool fec_feature_enable;
|
||||
bool has_widebus;
|
||||
bool gpio_aux_switch;
|
||||
u32 max_dp_dsc_blks;
|
||||
u32 max_dp_dsc_input_width_pixs;
|
||||
bool lphw_hpd;
|
||||
u32 mst_fixed_port[MAX_DP_MST_STREAMS];
|
||||
|
||||
|
Reference in New Issue
Block a user