]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up DVO pipe select bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 May 2018 17:24:23 +0000 (20:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 May 2018 16:39:01 +0000 (19:39 +0300)
commit7f9d8cc8dd90e2cd4b365367e78eec57a09fb042
treec683b9c94ef6244a5d293e012f7b9b8b1719b54d
parent68c0293f03a2681b2be3545736ecb538942a235d
drm/i915: Clean up DVO pipe select bits

Parametrize the DVO pipe select bits.

For consistency with the new way of doing things, let's read out the
pipe select bits even when the port is disable, even though we don't
need that behaviour for asserts in this case.

v2: Order the defines shift,mask,value (Jani)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180514172423.9302-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dvo.c