summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_main.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2023-11-25 00:36:37 +0100
committerMaxime Ripard <mripard@kernel.org>2023-11-28 13:57:43 +0100
commit4550d66d08b2257a1b2d3ce339d68ca33177f4b9 (patch)
treed42879f990520fdd3e81026323e6c443adbd972b /drivers/gpu/drm/ast/ast_main.c
parent4aa89e8644d3b8879191911edea0b6a63ea9d6e2 (diff)
drm/imagination: vm: check for drm_gpuvm_range_valid()
Extend pvr_device_addr_and_size_are_valid() by the corresponding GPUVM sanity checks. This includes a, previously missing, overflow check for the base address and size of the requested mapping. Fixes: ff5f643de0bf ("drm/imagination: Add GEM and VM related code") Signed-off-by: Danilo Krummrich <dakr@redhat.com> Reviewed-by: Donald Robson <donald.robson@imgtec.com> Tested-by: Frank Binns <frank.binns@imgtec.com> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20231124233650.152653-3-dakr@redhat.com
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions