]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau: make use of drm_gpuvm_range_valid()
authorDanilo Krummrich <dakr@redhat.com>
Wed, 8 Nov 2023 00:12:34 +0000 (01:12 +0100)
committerDanilo Krummrich <dakr@redhat.com>
Mon, 13 Nov 2023 17:18:00 +0000 (18:18 +0100)
commitb41e297abd2347075ec640daf0e5da576e3d7418
tree91ef41de080a608a26b37fd105f64c7c8279b7ef
parent9297cfc9405bc6b60540b8b8aaf930b7e449e15a
drm/nouveau: make use of drm_gpuvm_range_valid()

Use drm_gpuvm_range_valid() in order to validate userspace requests.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231108001259.15123-5-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_uvmm.c
drivers/gpu/drm/nouveau/nouveau_uvmm.h