aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2023-09-05 10:13:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-09-11 18:25:26 -0400
commit5e7e82254270c8cf8b107451c5de01cee2f135ae (patch)
tree77f970278554408454735b0d35196a3538af3708 /tools/perf/scripts/python/libxed.py
parent9296da8c40900b4dae3d973aa22be306e2a77671 (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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions