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>
这个提交包含在:
@@ -1351,6 +1351,9 @@ int msm_get_mixer_count(struct msm_drm_private *priv,
|
||||
const struct drm_display_mode *mode,
|
||||
const struct msm_resource_caps_info *res, u32 *num_lm);
|
||||
|
||||
int msm_get_dsc_count(struct msm_drm_private *priv,
|
||||
u32 hdisplay, u32 *num_dsc);
|
||||
|
||||
int msm_get_src_bpc(int chroma_format, int bpc);
|
||||
|
||||
#endif /* __MSM_DRV_H__ */
|
||||
|
在新工单中引用
屏蔽一个用户