summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_link.h
diff options
context:
space:
mode:
authorCharlene Liu2019-04-29 20:35:01 +0200
committerAlex Deucher2019-05-24 19:21:00 +0200
commiteed928dcd83ee8c80fa05013bbc019bc9e9e2a0e (patch)
tree5fa0cdbe36dd6b5d7386de123887d27124e06d6a /drivers/gpu/drm/amd/display/dc/dc_link.h
parentdrm/amd/display: Program VTG params after programming Global Sync (diff)
downloadkernel-qcow2-linux-eed928dcd83ee8c80fa05013bbc019bc9e9e2a0e.tar.gz
kernel-qcow2-linux-eed928dcd83ee8c80fa05013bbc019bc9e9e2a0e.tar.xz
kernel-qcow2-linux-eed928dcd83ee8c80fa05013bbc019bc9e9e2a0e.zip
drm/amd/display: enabling stream after HPD low to high happened
[Why] 1. No real HPD plug in/out but HPD happens, the driver notifies OS connection changed. 2. No display in target. When HPD goes low to high, the driver should regard as HPD and enter setmode flow. [How] In this case, even stream didn't change but still retrain. Signed-off-by: Chiawen Huang <chiawen.huang@amd.com> Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_link.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_link.h b/drivers/gpu/drm/amd/display/dc/dc_link.h
index 7b9429e30d82..094009127e25 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_link.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_link.h
@@ -75,6 +75,7 @@ struct dc_link {
enum dc_irq_source irq_source_hpd_rx;/* aka DP Short Pulse */
bool is_hpd_filter_disabled;
bool dp_ss_off;
+ bool link_state_valid;
/* caps is the same as reported_link_cap. link_traing use
* reported_link_cap. Will clean up. TODO