diff options
| author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2020-04-22 14:37:33 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-05 13:12:11 -0400 |
| commit | 7b353e41b4171c5dcc171306e4790bc328536f49 (patch) | |
| tree | dfa0ecd6e9ff038f3159e114fb099656443019e9 /lib/mpi/mpiutil.c | |
| parent | 65d68369826918a33d5fb4524efab4109b8e497b (diff) | |
drm/amd/display: Prevent dpcd reads with passive dongles
[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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
