drm/xe: Remove duplicate RING_MAX_NONPRIV_SLOTS definition
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 12 Dec 2023 21:56:04 +0000 (13:56 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:46:09 +0000 (11:46 -0500)
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.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20231212215603.2041841-2-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_engine_regs.h

index 3942db268b0148bfaa931b2d67a9fab367bf97cb..1a857c4edcf5ee2cb606b6005f816ca35d4acf75 100644 (file)
@@ -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)