]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/amdgpu: Check tbo resource pointer
authorAsad Kamal <asad.kamal@amd.com>
Thu, 25 Apr 2024 18:26:55 +0000 (02:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:18 +0000 (16:18 -0400)
commit6cd2b872643bb29bba01a8ac739138db7bd79007
treebe17781be5a473239518d7367819429b523b176e
parent188fd1616ec43033cedbe343b6579e9921e2d898
drm/amd/amdgpu: Check tbo resource pointer

Validate tbo resource pointer, skip if NULL

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c