[PATCH 1/2] amdgpu: validate drm_amdgpu_gem_va addrs for all ops
Chia-I Wu
olvaffe at gmail.com
Wed May 17 21:26:49 UTC 2023
On Tue, May 9, 2023 at 11:33 AM Chia-I Wu <olvaffe at gmail.com> wrote:
>
> Extend the address and size validations to AMDGPU_VA_OP_UNMAP and
> AMDGPU_VA_OP_CLEAR by moving the validations to amdgpu_gem_va_ioctl.
>
> Internal users of amdgpu_vm_bo_map are no longer validated but they
> should be fine.
>
> Userspace (radeonsi and radv) seems fine as well.
Does this series make sense?
More information about the dri-devel
mailing list