summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2023-09-05 17:13:51 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-09-12 00:22:32 +0300
commit86f2ec2265358fb1d7b76c7ffb86af6e04118388 (patch)
treecbf79abf31f0d97f85e721be9e3716cfa0514407 /include
parentffde72107be547d71f8074afd4f1ef1252073f3b (diff)
downloadlinux-86f2ec2265358fb1d7b76c7ffb86af6e04118388.tar.xz
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 <alexander.deucher@amd.com> Signed-off-by: David Francis <David.Francis@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions