]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Retry when read dpcd caps failed.
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 7 Mar 2018 14:12:53 +0000 (09:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:36 +0000 (13:07 -0500)
commit3c1a312aa4e4201efa8719e70a6dccd3acd6eba4
tree9fe6d13b6b8fa9112b4b0235cd6998eef90bf785
parentba0a5aaa867d77cedb2cd6ad9e647243d9ba9650
drm/amd/display: Retry when read dpcd caps failed.

Some DP panel not detected intermittently due to read dpcd
caps failed when doing hot plug.
[root cause] DC_HPD_CONNECT_INT_DELAY is set to 0, not delay
after HPD toggle and read dpcd data, while some panel need 4ms defer
to read.
[solution] Add a retry when read failed.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c