[i-g-t 1/4] lib/i915_drm_local: Remove macros added via merged kernel

Matthew Auld matthew.auld at intel.com
Fri Nov 15 10:14:30 UTC 2024


On 14/11/2024 05:01, Tejas Upadhyay wrote:
> The uapi on the kernel side is merged, I915_ENGINE_CLASS_COMPUTE,
> DRM_I915_PERF_PROP_OA_ENGINE_CLASS, DRM_I915_QUERY_GEOMETRY_SUBSLICES
> and DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE  is part of drm-next,
> remove this.
> 
> Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>

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

> ---
>   lib/i915/i915_drm_local.h | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
> index af0176500..dd646aedf 100644
> --- a/lib/i915/i915_drm_local.h
> +++ b/lib/i915/i915_drm_local.h
> @@ -19,12 +19,6 @@ extern "C" {
>    * or local_ prefix and without any #ifndef's. Attempt should be made to
>    * clean these up when kernel uapi headers are sync'd.
>    */
> -#define I915_ENGINE_CLASS_COMPUTE 4
> -
> -#define DRM_I915_QUERY_GEOMETRY_SUBSLICES      6
> -
> -#define DRM_I915_PERF_PROP_OA_ENGINE_CLASS	9
> -#define DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE	10
>   
>   #if defined(__cplusplus)
>   }



More information about the igt-dev mailing list