]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915: check for FBC planes in the same place as the pipes
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 16 Oct 2015 20:55:40 +0000 (17:55 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 3 Dec 2015 13:35:34 +0000 (11:35 -0200)
commite6cd6dc104fc3611326bf69df92090b6b7c78f60
tree8ebc42f0978bc9a930cf5d82730b1dd31de06840
parentc5ecd4691c797c098013da2bb6167d6bd93df6ae
drm/i915: check for FBC planes in the same place as the pipes

This moves the pre-gen4 check from update() to enable(). The HAS_DDI
in the original code is not needed since only gen 2/3 have the plane
swapping code.

v2: Rebase.
v3: Extract fbc_on_plane_a_only() (Chris).

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/
drivers/gpu/drm/i915/intel_fbc.c