]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track the primary plane correctly when reassigning planes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Jul 2014 17:35:31 +0000 (19:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Jul 2014 17:35:31 +0000 (19:35 +0200)
commitf9703bed88a361eb40c5c492c981c6f5766491d0
tree74e9e241297d9f65e7277d95263a881396689076
parent5adf761753e894f5f47762229dcaed71506b10e4
drm/i915: Track the primary plane correctly when reassigning planes

commit bcd5a6d25cda59a3c1571bfe28a624b1e3e94dc7
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Apr 30 17:43:01 2014 +0300

    drm/i915: Make primary_enabled match the actual hardware state

introduced more accurate tracking of the primary plane and some
checks. It missed the plane->pipe reassignement code for gen2/3
though, which the checks caught and resulted in WARNING backtraces.

Since we only use this path if the plane is on and on the wrong pipe
we can just always set the tracking bit to "enabled".

Reported-and-tested-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c