diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2020-04-22 14:37:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-27 17:46:35 +0200 |
commit | 4f48af814798891affd8653859eaab0230261c20 (patch) | |
tree | 135159944de782056797a325c8349740c1825db2 /tools/testing/selftests/kvm/lib/x86_64/vmx.c | |
parent | e0bb3075f91b0e47b0019ad64e86241e3abcd4f0 (diff) |
drm/amd/display: Prevent dpcd reads with passive dongles
[ Upstream commit e6142dd511425cb827b5db869f489eb81f5f994d ]
[why]
During hotplug, a DP port may be connected to the sink through
passive adapter which does not support DPCD reads. Issuing reads
without checking for this condition will result in errors
[how]
Ensure the link is in aux_mode before initiating operation that result
in a DPCD read.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/x86_64/vmx.c')
0 files changed, 0 insertions, 0 deletions