diff options
| author | David Francis <[email protected]> | 2023-09-05 14:13:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-11 21:22:32 +0000 |
| commit | 86f2ec2265358fb1d7b76c7ffb86af6e04118388 (patch) | |
| tree | cbf79abf31f0d97f85e721be9e3716cfa0514407 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | |
| parent | drm/amdgpu: Create an option to disable soft recovery (diff) | |
| download | kernel-86f2ec2265358fb1d7b76c7ffb86af6e04118388.tar.gz kernel-86f2ec2265358fb1d7b76c7ffb86af6e04118388.zip | |
drm/amdgpu: Handle null atom context in VBIOS info ioctl
On some APU systems, there is no atom context and so the
atom_context struct is null.
Add a check to the VBIOS_INFO branch of amdgpu_info_ioctl
to handle this case, returning all zeroes.
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: David Francis <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
0 files changed, 0 insertions, 0 deletions
