diff options
author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2024-07-30 20:02:45 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-13 10:32:49 -0400 |
commit | 1b686053c06ffb9f4524b288110cf2a831ff7a25 (patch) | |
tree | 5dcd2df8ed277c15d4c5d78b4a259a9248ad18a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | ce4f9f79ff8cfc78a064c533f0aab563a5613d81 (diff) |
drm/amd/display: Check null pointer before try to access it
[why & how]
Change the order of the pipe_ctx->plane_state check to ensure that
plane_state is not null before accessing it.
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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