diff options
| author | Friedrich Vock <[email protected]> | 2024-05-14 07:06:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-17 21:40:36 +0000 |
| commit | 0cdb3f9740844b9d95ca413e3fcff11f81223ecf (patch) | |
| tree | 70b772b873ed8705f3ac20f1ae9ae5db9afe28c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: Fix memory range calculation (diff) | |
| download | kernel-0cdb3f9740844b9d95ca413e3fcff11f81223ecf.tar.gz kernel-0cdb3f9740844b9d95ca413e3fcff11f81223ecf.zip | |
drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
The special case for VM passthrough doesn't check adev->nbio.funcs
before dereferencing it. If GPUs that don't have an NBIO block are
passed through, this leads to a NULL pointer dereference on startup.
Signed-off-by: Friedrich Vock <[email protected]>
Fixes: 1bece222eabe ("drm/amdgpu: Clear doorbell interrupt status for Sienna Cichlid")
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
