diff options
| author | Gavin Wan <[email protected]> | 2023-03-17 18:42:30 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 09:58:09 -0400 |
| commit | b4520bfd801338c48d887f0eec74a53ab80f2167 (patch) | |
| tree | 509570dc323244ec600d29fcb6d9fbf2333488e0 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 46f7b4deb30558593c1d2e62d561a3cee21f558a (diff) | |
drm/amdgpu: Checked if the pointer NULL before use it.
For SRIOV on some parts, the host driver does not post VBIOS. So the guest
cannot get bios information. Therefore, adev->virt.fw_reserve.p_pf2vf
and adev->mode_info.atom_context are NULL.
Signed-off-by: Gavin Wan <[email protected]>
Reviewed-by: Zhigang Luo <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions