diff options
author | Christian König <christian.koenig@amd.com> | 2022-12-07 08:47:30 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-14 09:48:04 -0500 |
commit | 9c3db58bf8f7d0007049f686ce8c419eed4325d1 (patch) | |
tree | 70cfc6e4860a9349e4e53d075d549997329f638c /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.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 <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions