drm/i915: Move MCR_REG define to i915_reg_defs.h
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 24 Feb 2023 21:12:21 +0000 (13:12 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 25 Feb 2023 19:24:09 +0000 (11:24 -0800)
commitc6a53c90e3be8b7e745a46c941631d0855648313
treec3fdaf6019b38b7d5c7256c528591a9429b07d0c
parent0eb1173422f648a503a2ed1a8364f2d8bd7f690c
drm/i915: Move MCR_REG define to i915_reg_defs.h

Define MCR_REG() in the same header where i915_mcr_reg_t is defined,
like i915_reg_t and _MMIO(). It's a more natural place for such a
definition so it's not mixed with the registers for the platforms.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230224211221.1557268-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/i915_reg_defs.h