]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify LVDS crtc_mask setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Oct 2019 16:25:01 +0000 (19:25 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Oct 2019 14:07:58 +0000 (16:07 +0200)
commitb96e26021009b472c89e86235fcc4fddf5f0dd23
tree423ae78c85ba8cc03d39820196761df63330aa16
parent36e3bcb033e3fae9848417cda30c174cd1688985
drm/i915: Simplify LVDS crtc_mask setup

We don't need to special case PCH vs. gen4 when setting up the LVDS
crtc_mask. Just claim pipes A|B|C work and
intel_encoder_possible_crtcs() will drop out any crtc that doesn't
exist.

v2: Put the special case first to match what most other encoders do

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191002162505.30716-2-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
drivers/gpu/drm/i915/display/intel_lvds.c