]> www.infradead.org Git - users/willy/pagecache.git/commit
drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size)
authorMingcong Bai <jeffbai@aosc.io>
Tue, 25 Feb 2025 07:31:01 +0000 (15:31 +0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 26 Feb 2025 02:17:38 +0000 (21:17 -0500)
commit6b68c4542ffecc36087a9e14db8fc990c88bb01b
treee31fb3ae2247f02fb48f1e0ef2fff1c01c018024
parent35359c36356a4226af1ba3956d48abf7ed136ebb
drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size)

Commit b79e8fd954c4 ("drm/xe: Remove dependency on intel_engine_regs.h")
introduced an internal set of engine registers, however, as part of this
change, it has also introduced two duplicate `define' lines for
`RING_CTL_SIZE(size)'. This commit was introduced to the tree in v6.8-rc1.

While this is harmless as the definitions did not change, so no compiler
warning was observed.

Drop this line anyway for the sake of correctness.

Cc: stable@vger.kernel.org # v6.8-rc1+
Fixes: b79e8fd954c4 ("drm/xe: Remove dependency on intel_engine_regs.h")
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250225073104.865230-1-jeffbai@aosc.io
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_engine_regs.h