diff options
author | Christian König <[email protected]> | 2022-12-07 08:47:30 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-12-14 09:48:04 -0500 |
commit | 9c3db58bf8f7d0007049f686ce8c419eed4325d1 (patch) | |
tree | 70cfc6e4860a9349e4e53d075d549997329f638c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 47ea20762bb7875a62e10433a3cd5d34e9133f47 (diff) |
drm/amdgpu: fixx NULL pointer deref in gmc_v9_0_get_vm_pte
We not only need to make sure that we have a BO, but also that the BO
has some backing store.
Fixes: d1a372af1c3d ("drm/amdgpu: Set MTYPE in PTE based on BO flags")
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Luben Tuikov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions