]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Add memory pool with shadow support
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Wed, 8 Apr 2026 11:01:47 +0000 (11:01 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 14 Apr 2026 06:45:35 +0000 (23:45 -0700)
commit1ce3229f8f269a245ff3b8c65ffae36b4d6afb93
tree53f9213b326b3af031da38782e67accfbdd2fe22
parent1a2a722ff96749734a5585dfe7f0bea7719caa8b
drm/xe: Add memory pool with shadow support

Add a memory pool to allocate sub-ranges from a BO-backed pool
using drm_mm.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260408110145.1639937-5-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_mem_pool.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_mem_pool.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_mem_pool_types.h [new file with mode: 0644]