aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2021-10-08 20:07:45 +0000
committerAlex Deucher <[email protected]>2021-10-13 18:14:35 +0000
commit1f3b22e4eb162e0b1d423106a47484943a22a309 (patch)
tree7c1b9264be46a568441a55c497fb463ab3f033a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amd/display: Fix surface optimization regression on Carrizo (diff)
downloadkernel-1f3b22e4eb162e0b1d423106a47484943a22a309.tar.gz
kernel-1f3b22e4eb162e0b1d423106a47484943a22a309.zip
drm/amd/display: fix null pointer deref when plugging in display
[Why&How] When system boots in headless mode, connecting a 4k display creates a null pointer dereference due to hubp for a certain plane being null. Add a condition to check for null hubp before dereferencing it. Signed-off-by: Aurabindo Pillai <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions