aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2024-01-22 09:38:23 +0000
committerAlex Deucher <[email protected]>2024-01-25 20:45:11 +0000
commitbc8f6d42b1334f486980d57c8d12f3128d30c2e3 (patch)
tree9fa0d4f57db03935ce2452b11b74b6272cab69db /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/amdgpu: Show vram vendor only if available (diff)
downloadkernel-bc8f6d42b1334f486980d57c8d12f3128d30c2e3.tar.gz
kernel-bc8f6d42b1334f486980d57c8d12f3128d30c2e3.zip
drm/amdgpu: Fix null pointer dereference
amdgpu_reg_state_sysfs_fini could be invoked at the time when asic_func is even not initialized, i.e., amdgpu_discovery_init fails for some reason. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions