drm: msm: dp: Fix DSC and FEC handling
Ensure that the driver is handling DSC and FEC enablement properly. FEC can now be independently enabled without DSC. FEC configuration is also now performed after link training in order to avoid link training failures as per the DP spec. Consequently, DSC can now be left on during compliance testing. For DSC use-cases, ensure that the minimum supported bpp is set to 24, as required by the DSC spec. CRs-Fixed: 2517994 Change-Id: I40339585da5b4e51251a3be7119b6959954954d7 Signed-off-by: Fuad Hossain <fhossain@codeaurora.org>
这个提交包含在:
@@ -884,7 +884,7 @@ static int dp_display_process_hpd_high(struct dp_display_private *dp)
|
||||
dp_display_process_mst_hpd_high(dp, false);
|
||||
|
||||
rc = dp->ctrl->on(dp->ctrl, dp->mst.mst_active,
|
||||
dp->panel->fec_en, false);
|
||||
dp->panel->fec_en, dp->panel->dsc_en, false);
|
||||
if (rc) {
|
||||
dp_display_state_remove(DP_STATE_CONNECTED);
|
||||
goto end;
|
||||
@@ -1665,7 +1665,8 @@ static int dp_display_prepare(struct dp_display *dp_display, void *panel)
|
||||
* So, we execute in shallow mode here to do only minimal
|
||||
* and required things.
|
||||
*/
|
||||
rc = dp->ctrl->on(dp->ctrl, dp->mst.mst_active, dp_panel->fec_en, true);
|
||||
rc = dp->ctrl->on(dp->ctrl, dp->mst.mst_active, dp_panel->fec_en,
|
||||
dp_panel->dsc_en, true);
|
||||
if (rc)
|
||||
goto end;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户