diff options
author | xinhui pan <xinhui.pan@amd.com> | 2024-04-11 11:11:38 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-16 22:39:15 -0400 |
commit | 98856136c485e586ab063f0b3780dfc0c78df780 (patch) | |
tree | 6cbf5d325615db7c1b291dca568e48b25710b77d /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | f23558627f2bb28df3b7f3d1d53b1e7f4bd1e250 (diff) |
drm/amdgpu: validate the parameters of bo mapping operations more clearly
Verify the parameters of
amdgpu_vm_bo_(map/replace_map/clearing_mappings) in one common place.
Fixes: dc54d3d1744d ("drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2")
Cc: stable@vger.kernel.org
Reported-by: Vlad Stolyarov <hexed@google.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: xinhui pan <xinhui.pan@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_ttm.c')
0 files changed, 0 insertions, 0 deletions