]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: track sprite coverage and disable primary plane if possible
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 21:19:39 +0000 (13:19 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 17:31:10 +0000 (09:31 -0800)
commit6020aaabe2e8867e0ea9f32543f488676ae2cbff
tree4f172f5f12853ff22d86d66bb3fe3c2ec3405f81
parente9fd6c25e33645f574149b828234450b153c4cd2
drm/i915: track sprite coverage and disable primary plane if possible

To save power when the sprite is full screen, we can disable the primary
plane on the same pipe.  Track the sprite status and enable/disable the
primary opportunistically.

v2: remove primary plane enable/disable hooks; they're identical

Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c