]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Switch off FBC when disabling the primary plane when obscured
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jun 2012 16:36:55 +0000 (17:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Jun 2012 18:10:00 +0000 (20:10 +0200)
commit5812c68f3843d1090b6d1f9b4b37ce6eddccf2a1
tree688c2ae7fc464d986fbed8cae92c12ef4eef9645
parent070ae114689c09545b899bfa07f56565652d1ebf
drm/i915: Switch off FBC when disabling the primary plane when obscured

As we switch on/off the primary plane if it is completely obscured by an
overlapping video sprite, we also nee to make sure that we update the
FBC configuration at the same time.

v2: Not all crtcs are intel_crtcs, as spotted by Daniel.
v3: Boot testing rules.

References: https://bugs.freedesktop.org/show_bug.cgi?id=50238
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_sprite.c