Skip to contentSkip to conversation

include/drm-uapi-experimental: Drop stale macros from intel_drm_local.h

PATCH In review Sanjay Yadav 2 participants 2 messages Oct 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/drm-uapi-experimental: Drop stale macros from intel_drm_local.h

Remove temporary macros (DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER, DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT, and DRM_XE_QUERY_CONFIG_FLAG_HAS_LOW_LATENCY) that are now part of upstream drm-next and are therefore in include/drm-uapi/xe_drm.h. These were originally added for early development
and are no longer needed.

---
 include/drm-uapi-experimental/intel_drm_local.h | 5 -----
 1 file changed, 5 deletions(-)
include/drm-uapi-experimental/intel_drm_local.h +0 -5
index 3aaf1eeb9..b48c9e219 100644
@@ -20,11 +20,6 @@ extern "C" {
  * clean these up when kernel uapi headers are sync'd.
  */
 
-#define DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER	(1 << 0)
-
-#define DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT      (1 << 0)
-#define DRM_XE_QUERY_CONFIG_FLAG_HAS_LOW_LATENCY        (1 << 1)
-
 #if defined(__cplusplus)
 }
 #endif
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Sanjay Yadav

Remove temporary macros (DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER, DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT, and DRM_XE_QUERY_CONFIG_FLAG_HAS_LOW_LATENCY) that are now part of upstream drm-next and are therefore in include/drm-uapi/xe_drm.h. These were originally added for early development
and are no longer needed.

Assuming it still builds,

Quoted 20 lines
---
  include/drm-uapi-experimental/intel_drm_local.h | 5 -----
  1 file changed, 5 deletions(-)
include/drm-uapi-experimental/intel_drm_local.h +0 -5
index 3aaf1eeb9..b48c9e219 100644
@@ -20,11 +20,6 @@ extern "C" {
   * clean these up when kernel uapi headers are sync'd.
   */
 
-#define DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER	(1 << 0)
-
-#define DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT      (1 << 0)
-#define DRM_XE_QUERY_CONFIG_FLAG_HAS_LOW_LATENCY        (1 << 1)
-
  #if defined(__cplusplus)
  }
  #endif