diff options
| author | xinhui pan <[email protected]> | 2024-04-11 03:11:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-17 02:39:15 +0000 |
| commit | 98856136c485e586ab063f0b3780dfc0c78df780 (patch) | |
| tree | 6cbf5d325615db7c1b291dca568e48b25710b77d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: add new aca smu callback func parse_error_code() (diff) | |
| download | kernel-98856136c485e586ab063f0b3780dfc0c78df780.tar.gz kernel-98856136c485e586ab063f0b3780dfc0c78df780.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: [email protected]
Reported-by: Vlad Stolyarov <[email protected]>
Suggested-by: Christian König <[email protected]>
Signed-off-by: xinhui pan <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
