]> Gentwo Git Trees - linux/.git/commit
drm/gpusvm: refactor core API to use pages struct
authorMatthew Auld <matthew.auld@intel.com>
Thu, 28 Aug 2025 14:24:35 +0000 (15:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 5 Sep 2025 10:45:46 +0000 (11:45 +0100)
commit6364afd532bcabf4a12bea44c3dd4c291e31a83e
tree1ac5f5e57de45dacab51f5fec8a02e4ef112cb0b
parentf70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9
drm/gpusvm: refactor core API to use pages struct

Refactor the core API of get/unmap/free pages to all operate on
drm_gpusvm_pages. In the next patch we want to export a simplified core
API without needing fully blown svm range etc.

Suggested-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250828142430.615826-14-matthew.auld@intel.com
drivers/gpu/drm/drm_gpusvm.c