drm/i915: Replace GFX_MODE_GEN7 with RING_MODE_GEN7
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 05:15:54 +0000 (21:15 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 21:45:40 +0000 (13:45 -0800)
commitab076d8d79e1e5eb3960e0a489f7a11d729c03bd
tree6a26e1224b4c2ab31d23f1621f5af72cd22ba8bb
parent3e5cbecb9aa88f00016b61200d4126f727fc71e6
drm/i915: Replace GFX_MODE_GEN7 with RING_MODE_GEN7

It's preferable to use parameterized register macros where possible.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220111051600.3429104-6-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gvt/mmio_context.c
drivers/gpu/drm/i915/i915_reg.h