[i-g-t 3/4] include/intel_drm_local.h: Add DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER

Matthew Auld matthew.auld at intel.com
Fri Nov 15 10:27:04 UTC 2024


On 14/11/2024 05:01, Tejas Upadhyay wrote:
> For now dump into intel_drm_local.h. Once the uapi on the kernel side is
> merged, and is part of drm-next, we can sync the kernel headers and
> remove this.
> 
> Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>

Reviewed-by: Matthew Auld <matthew.auld at intel.com>

Although not sure if we should still have separate i915 and xe headers, 
just how it is in the official kernel headers. Maybe that is a bikeshed 
though.

> ---
>   include/drm-uapi-experimental/intel_drm_local.h | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/include/drm-uapi-experimental/intel_drm_local.h b/include/drm-uapi-experimental/intel_drm_local.h
> index 1773c649b..4afe588ec 100644
> --- a/include/drm-uapi-experimental/intel_drm_local.h
> +++ b/include/drm-uapi-experimental/intel_drm_local.h
> @@ -20,6 +20,8 @@ extern "C" {
>    * clean these up when kernel uapi headers are sync'd.
>    */
>   
> +#define DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER	(1 << 0)
> +
>   #if defined(__cplusplus)
>   }
>   #endif



More information about the Intel-xe mailing list