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-17 11:50:43 -0400 |
commit | 6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75 (patch) | |
tree | 8db616fe35e1c26b1247755ddd24cef66425dae6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | 91f10a3d21f2313485178d49efef8a3ba02bd8c7 (diff) | |
download | linux-6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75.tar.gz linux-6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75.tar.bz2 linux-6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75.zip |
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_object.h')
0 files changed, 0 insertions, 0 deletions