]> Gentwo Git Trees - linux/.git/commit
drm/gpuvm: Pass map arguments through a struct
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 19 Aug 2025 16:20:55 +0000 (21:50 +0530)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 20 Aug 2025 04:19:31 +0000 (21:19 -0700)
commit000a45dce7adc13e45b2925b383e39f32e5f3004
treee039967de1449e7284e53511b292e4d33c46ae36
parentf1f2a22b8683d7ac38821d4508d4549a2f0c0a0a
drm/gpuvm: Pass map arguments through a struct

We are about to pass more arguments to drm_gpuvm_sm_map[_ops_create](),
so, before we do that, let's pass arguments through a struct instead
of changing each call site every time a new optional argument is added.

Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Brendan King <Brendan.King@imgtec.com>
Cc: Matt Coster <matt.coster@imgtec.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Caterina Shablia <caterina.shablia@collabora.com>
Cc: Rob Clark <robin.clark@oss.qualcomm.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Co-developed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rob Clark <robin.clark@oss.qualcomm.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com> # imagination/pvr_vm.c
Acked-by: Matt Coster <matt.coster@imgtec.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250819162058.2777306-2-himal.prasad.ghimiray@intel.com
drivers/gpu/drm/drm_gpuvm.c
drivers/gpu/drm/imagination/pvr_vm.c
drivers/gpu/drm/msm/msm_gem_vma.c
drivers/gpu/drm/nouveau/nouveau_uvmm.c
drivers/gpu/drm/panthor/panthor_mmu.c
drivers/gpu/drm/xe/xe_vm.c
include/drm/drm_gpuvm.h