summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
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 01:25:26 +0300
commit5e7e82254270c8cf8b107451c5de01cee2f135ae (patch)
tree77f970278554408454735b0d35196a3538af3708 /tools/perf/scripts/python/exported-sql-viewer.py
parent9296da8c40900b4dae3d973aa22be306e2a77671 (diff)
downloadlinux-5e7e82254270c8cf8b107451c5de01cee2f135ae.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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions