aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorWayne Lin <Wayne.Lin@amd.com>2024-07-31 17:04:44 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-08-13 10:32:56 -0400
commit66e2d2d9a59f896def82a1c8684368be45cf4c06 (patch)
tree7819602cc888fab1191875ec91a7fa5bf13e23e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent1b686053c06ffb9f4524b288110cf2a831ff7a25 (diff)
drm/amd/display: Check null pointer before try to access it
[why & how] Make sure plane_state is not null before calling a function that dereferences it. Besides, remove redundant codes. Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions