]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Add readout and state check for pch_pfit.force_thru
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Apr 2019 16:29:06 +0000 (19:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 May 2019 13:01:22 +0000 (16:01 +0300)
commitdc0c0bfe112c100b0279de2e4aeda22311626c18
tree65df7fe19a18f418e7942d928af022c26a526023
parent13b7648b7eab7e8259a2fb267b498bd9eba81ca0
drm/i915: Add readout and state check for pch_pfit.force_thru

Convert the HSW pch_pfit.force_thru to a proper state variable
with readout and accompanying pipe conf check. Makes the logic
a bit more straightforward, and hopefully prevents some
breakage in the future.

'force_thru' is probably not the best name for this, but I
didn't manage to come up with anything better either, so I
left it alone.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190425162906.5242-2-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pipe_crc.c