diff options
| author | Christian König <[email protected]> | 2022-12-07 07:47:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-12-14 14:48:04 +0000 |
| commit | 9c3db58bf8f7d0007049f686ce8c419eed4325d1 (patch) | |
| tree | 70cfc6e4860a9349e4e53d075d549997329f638c /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | |
| parent | drm/amdgpu: Add an extra evict_resource call during device_suspend. (diff) | |
| download | kernel-9c3db58bf8f7d0007049f686ce8c419eed4325d1.tar.gz kernel-9c3db58bf8f7d0007049f686ce8c419eed4325d1.zip | |
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_hmm.c')
0 files changed, 0 insertions, 0 deletions
