diff options
| author | Guchun Chen <guchun.chen@amd.com> | 2021-03-30 22:02:06 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:49:46 -0400 |
| commit | fd6ecc906960c1063c17f23b0b8dad5f6dcea4bc (patch) | |
| tree | 9e42d98804e2c08d7fe2467a7c9324e8895dd76a /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/amdgpu: fix compiler warning(v2) (diff) | |
| download | linux-fd6ecc906960c1063c17f23b0b8dad5f6dcea4bc.tar.gz linux-fd6ecc906960c1063c17f23b0b8dad5f6dcea4bc.zip | |
drm/radeon: avoid potential null pointer access
Leverage the same logic from amdgpu_ttm_tt_unpin_userptr.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
