aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2022-11-14 22:17:53 +0000
committerAlex Deucher <[email protected]>2022-11-17 05:19:18 +0000
commita3ae99598b9f89dd5ac9d2900fb7ffb3dcfa3d35 (patch)
tree3f660a8f8c59725aebfa69c2ae844590af78ac80 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu/mst: Stop ignoring error codes and deadlocking (diff)
downloadkernel-a3ae99598b9f89dd5ac9d2900fb7ffb3dcfa3d35.tar.gz
kernel-a3ae99598b9f89dd5ac9d2900fb7ffb3dcfa3d35.zip
drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
Looks like that we're accidentally dropping a pretty important return code here. For some reason, we just return -EINVAL if we fail to get the MST topology state. This is wrong: error codes are important and should never be squashed without being handled, which here seems to have the potential to cause a deadlock. Signed-off-by: Lyude Paul <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Fixes: 8ec046716ca8 ("drm/dp_mst: Add helper to trigger modeset on affected DSC MST CRTCs") Cc: <[email protected]> # v5.6+ Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions