]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb45a258897a4a37b6cbc0bf1dc21354432f3e8c1
treec683b9c94ef6244a5d293e012f7b9b8b1719b54d
parent4add0f6bde0506677a224e761cc9f764d24dbe96
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