aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
diff options
context:
space:
mode:
authorDavid Francis <[email protected]>2023-09-05 14:13:51 +0000
committerAlex Deucher <[email protected]>2023-09-11 21:22:32 +0000
commit86f2ec2265358fb1d7b76c7ffb86af6e04118388 (patch)
treecbf79abf31f0d97f85e721be9e3716cfa0514407 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
parentdrm/amdgpu: Create an option to disable soft recovery (diff)
downloadkernel-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