diff options
| author | Duncan Ma <[email protected]> | 2022-05-12 14:46:24 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-07 16:09:51 -0400 |
| commit | 2d017189e2b39cf2fae63984215385401b77ea83 (patch) | |
| tree | 34cb011c652cf28bf0d86ac8775cafdb87cf5ce3 /scripts | |
| parent | 77361ed89a8b03c7e121f4b8c517d7be93ccd8df (diff) | |
drm/amd/display: Blank eDP on enable drv if odm enabled
[Why]
For panels with pixel clock > 1200MHz that require ODM
in pre-OS, when driver is disabled in OS, odm is enabled.
Upon driver enablement, corruption is seen if
odm was originally enabled. DP_PIXEL_COMBINE and
pixelclk must be programmed prior to programming the
optc-odm registers. However, eDP displays aren't blanked
prior to initializing odm in this case.
[How]
Upon driver enablement, check whether odm is enabled,
if so, blank eDP prior to programming optc-odm
registers.
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Duncan Ma <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions