linux_dsm_epyc7002/drivers/gpu/drm/amd
Anthony Koo abe882a39a drm/amd/display: fix issue with eDP not detected on driver load
[Why]
HPD not going to be high if Panel VDD is off
And all AUX transaction will fail :(

[How]
1. Power on VDD before attempting detection if it isn't already on
2. Improve the robustness by having a retry mechanism on the
first DPCD read after VDD on. If a particular board always holds
HPD high incorrectly, the AUX access may fail, so we can retry
in those scenarios. This change would only improve logic
since it prevents AUX failure leading to bad resolution on internal
panel.
3. We should never need to re-detect internal panel, so logic
is re-arranged a bit to skip earlier.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-11 12:50:05 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Add module parameter for specifying default ABM level 2019-06-11 12:45:18 -05:00
amdkfd drm/amdkfd: Implement queue priority controls for gfx9 2019-06-11 12:35:25 -05:00
display drm/amd/display: fix issue with eDP not detected on driver load 2019-06-11 12:50:05 -05:00
include drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd 2019-05-24 12:21:01 -05:00
powerplay drm/amd/powerplay: add set_power_profile_mode for raven1_refresh 2019-06-11 12:39:57 -05:00