]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Remove some duplicated plane swapping logic
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Nov 2016 14:47:11 +0000 (16:47 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Nov 2016 18:27:55 +0000 (20:27 +0200)
commite3c566dfe4df07e007c9795356c63d5635664e5e
treef19333bf37cd72f4734eee7377107be1c919dd40
parentc99f53f7cab9797c2ad5848318c725254be9e400
drm/i915: Remove some duplicated plane swapping logic

On pre-gen4 we connect plane A to pipe B and vice versa to get an FBC
capable plane feeding the LVDS port by default. We have the logic for
the plane swapping duplicated in many places. Let's remove a bit of the
duplication by having the crtc look up the thing from the primary plane.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478616439-10150-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c