diff options
author | David Francis <David.Francis@amd.com> | 2023-09-05 10:13:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-11 17:22:32 -0400 |
commit | 86f2ec2265358fb1d7b76c7ffb86af6e04118388 (patch) | |
tree | cbf79abf31f0d97f85e721be9e3716cfa0514407 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | ffde72107be547d71f8074afd4f1ef1252073f3b (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions