aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2019-06-05 16:30:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-07-01 01:59:07 -0400
commit55611b507fd6453d26030c0c0619fdf0c262766d (patch)
tree8169bb966ae7e62297a44590075e1ecd923debe4 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parentcdca7979456359a8186459c677d1f4705ebbf72a (diff)
drm/amdgpu: avoid dereferencing a NULL pointer
Check if irq_src is NULL to avoid dereferencing a NULL pointer, for MES ring is uneccessary to recieve an interrupt notification. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions