]> git.ipfire.org Git - thirdparty/kernel/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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 29 Apr 2026 16:51:19 +0000 (12:51 -0400)
commit36c6bac158816ede655f298a3f76e5a350eaa90e
tree2c24a40dcebce9b4cd09025bd30cdd7a7c9cd50e
parent03f2499c51dffce611b065b2894406beb9f2ebe0
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
(cherry picked from commit 1ce3229f8f269a245ff3b8c65ffae36b4d6afb93)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@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]