summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorJiawei Gu <Jiawei.Gu@amd.com>2020-12-23 13:54:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-01-05 11:32:30 -0500
commit35c3c89a859257833333396c458b5b087a5b8ed3 (patch)
treea39306c67883e18e075c9291c9c660ee6ba840f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parenta11d9ff3ebe05d6c9412eaa06a7398e3729749ff (diff)
drm/amdgpu: fix potential NULL pointer when check_atom_bios() fails
Asic funcs pointer needs being checked whether is NULL. Because when check_atom_bios() fails in req_init_data handshake, asic funcs pointer is not initialized yet. Signed-off-by: Jiawei Gu <Jiawei.Gu@amd.com> Acked-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_virt.h')
0 files changed, 0 insertions, 0 deletions