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_kms.c | |
parent | 9973de10b5b70b0e5ed9e01e3b392dfc65ab215d (diff) |
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_kms.c')
0 files changed, 0 insertions, 0 deletions