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 16:13:57 -0400 |
commit | e6142dd511425cb827b5db869f489eb81f5f994d (patch) | |
tree | 26a90a317cb409e6d1a630d40713156caa89927c /drivers/fpga/altera-pr-ip-core-plat.c | |
parent | 80797dd6f1a525d1160c463d6a9f9d29af182cbb (diff) | |
download | linux-e6142dd511425cb827b5db869f489eb81f5f994d.tar.bz2 |
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 'drivers/fpga/altera-pr-ip-core-plat.c')
0 files changed, 0 insertions, 0 deletions