drm/i915: Name our BARs based on the spec
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Oct 2022 19:56:46 +0000 (22:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Oct 2022 18:08:42 +0000 (21:08 +0300)
commit0492a34c832473190ff9bf65fd080b7fcb9a0af2
treeb1422e281ae45a9855bb682cbb49fb4f07388f3e
parent5bfcff516c89c57be6cd90af1d64529a51228ac1
drm/i915: Name our BARs based on the spec

We use all kinds of weird names for our base address registers.
Take the names from the spec and stick to them to avoid confusing
everyone.

The only exceptions are IOBAR and LMEMBAR since naming them
IOBAR_BAR and LMEMBAR_BAR looks too funny, and yet I think
that adding the _BAR to GTTMMADR & co. (which don't have one
in the spec name) does make it more clear what they are.
And IOBAR vs. GTTMMADR_BAR also looks a bit too inconsistent
for my taste.

v2: Fix gvt build
v3: Add GEN2_IO_BAR for completeness

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221005195646.17201-1-ville.syrjala@linux.intel.com
Acked-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/display/intel_lpe_audio.c
drivers/gpu/drm/i915/gt/intel_ggtt.c
drivers/gpu/drm/i915/gvt/cfg_space.c
drivers/gpu/drm/i915/intel_pci_config.h