]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop unused AUX register offsets
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 26 Oct 2019 05:12:26 +0000 (22:12 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 29 Oct 2019 17:48:53 +0000 (10:48 -0700)
commit89d6b80948c6723b9a876305c8417beb65ae4f94
tree9df6ceae6378e738fd05005c47756fb8b0bba74d
parent53f48db6d666bbec51b5233f3551b398b31dcaaa
drm/i915: Drop unused AUX register offsets

We reference DP AUX registers via the DP_AUX_CH_CTL() and
DP_AUX_CH_DATA() macros that calculate all the register offsets for us
automatically; there's no need to explicitly define every offset in
i915_reg.h if they're never going to be used by the driver code.

v2: Apparently GVT was directly using these raw definitions in a couple
    places.  Switch GVT code over to using our preferred macros.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> #v1
Link: https://patchwork.freedesktop.org/patch/msgid/20191026051226.30807-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/i915_reg.h