[PATCH] drm/xe: Remove duplicate RING_MAX_NONPRIV_SLOTS definition

Matthew Brost matthew.brost at intel.com
Wed Dec 13 01:01:34 UTC 2023


On Tue, Dec 12, 2023 at 01:56:04PM -0800, Matt Roper wrote:
> The engine register header wound up with two definitions for
> RING_MAX_NONPRIV_SLOTS, likely due to a rebase mistake.  Keep the
> definition that's in an appropriate place (i.e., with the
> FORCE_TO_NONPRIV register definition) and remove the other.
> 
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>

Reviewed-by: Matthew Brost <matthew.brost at intel.com>

> ---
>  drivers/gpu/drm/xe/regs/xe_engine_regs.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/regs/xe_engine_regs.h b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> index 3942db268b01..1a857c4edcf5 100644
> --- a/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> @@ -40,7 +40,6 @@
>  #define RING_NOPID(base)			XE_REG((base) + 0x94)
>  
>  #define RING_IMR(base)				XE_REG((base) + 0xa8)
> -#define   RING_MAX_NONPRIV_SLOTS  12
>  
>  #define RING_EIR(base)				XE_REG((base) + 0xb0)
>  #define RING_EMR(base)				XE_REG((base) + 0xb4)
> -- 
> 2.43.0
> 


More information about the Intel-xe mailing list