drm/i915/aux: add separate register macros and functions for VLV/CHV
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 Oct 2023 20:15:32 +0000 (23:15 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Oct 2023 09:40:19 +0000 (12:40 +0300)
commit26eb4fcf2349b3dc02ee6f96925419eb7b3026d0
tree428dbc7c8d73125cf694b1eb2fae938d5ff298e3
parentf17c08a6046f0c9383a61d7009216b0ad3369db4
drm/i915/aux: add separate register macros and functions for VLV/CHV

Add separate macros for VLV/CHV registers without the implicit dev_priv,
and with the display MMIO base baked in.

A number of implicitly used dev_priv local variables can be removed.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231011201533.1081368-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux.c
drivers/gpu/drm/i915/display/intel_dp_aux_regs.h
drivers/gpu/drm/i915/gvt/handlers.c