[PATCH] drm/xe/uapi: Add documentation for DRM_XE_GEM_CREATE_FLAG_DEFER_BACKING

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Thu Jul 17 06:36:11 UTC 2025


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Add documentation for drm_xe_gem_create structure flag
DRM_XE_GEM_CREATE_FLAG_DEFER_BACKING.

Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
 include/uapi/drm/xe_drm.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index e2426413488f..0e87609f9ad1 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -760,7 +760,10 @@ struct drm_xe_device_query {
  * gem creation
  *
  * The @flags can be:
- *  - %DRM_XE_GEM_CREATE_FLAG_DEFER_BACKING
+ *  - %DRM_XE_GEM_CREATE_FLAG_DEFER_BACKING - It changes allocation strategy
+ *    by deferring memory allocation until VM_BIND time or when the GEM object
+ *    is accessed by the CPU. This means that no memory is allocated at the time
+ *    of GEM object creation, avoiding immediate eviction of other buffer objects.
  *  - %DRM_XE_GEM_CREATE_FLAG_SCANOUT
  *  - %DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM - When using VRAM as a
  *    possible placement, ensure that the corresponding VRAM allocation
-- 
2.34.1



More information about the Intel-xe mailing list