]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Eliminate intel_dp.regs.dp_tp_{ctl,status}
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Sep 2020 23:34:49 +0000 (02:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 1 Oct 2020 13:45:57 +0000 (16:45 +0300)
commit8e4f72eaa34d34d358f51342cfa3505d0d73b3ed
tree7b79046bf2530de78405e50ec6da0abfce3b08e2
parent6724984e97efe42f9921b9e31c9a8f3945c8c10d
drm/i915: Eliminate intel_dp.regs.dp_tp_{ctl,status}

Now that we've plumbed the crtc state all the way down we can
eliminate the DP_TP_{CTL,STATUS} register offsets from intel_dp,
and instead we derive them directly from the crtc state.

And thus we can get rid of the nasty hack in intel_ddi_get_config()
which mutates intel_dp during the readout.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200929233449.32323-12-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi.h
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c