[PATCH] drm/amdgpu: validate the parameters of bo mapping operations more clearly

Jann Horn jannh at google.com
Tue Apr 16 10:59:15 UTC 2024


On Fri, Apr 12, 2024 at 9:36 AM xinhui pan <xinhui.pan at amd.com> wrote:
> Verify the parameters of
> amdgpu_vm_bo_(map/replace_map/clearing_mappings) in one common place.
>
> Reported-by: Vlad Stolyarov <hexed at google.com>
> Suggested-by: Christian König <christian.koenig at amd.com>
> Signed-off-by: xinhui pan <xinhui.pan at amd.com>

Please add something like this when committing the fix:

Fixes: dc54d3d1744d ("drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2")
Cc: stable at vger.kernel.org


More information about the amd-gfx mailing list