drm/i915: Fix FBC1 plane checks for gen2
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Nov 2013 15:29:58 +0000 (17:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Dec 2013 11:09:35 +0000 (12:09 +0100)
commitc5a44aa012ee86b3dfd0c6050ba34cd6eb412875
tree809dcb1a8fca2047127591179d912abdc1e1de7e
parent82f344967cca4d4d0bd3cbcdeddfc6bf00a46fd8
drm/i915: Fix FBC1 plane checks for gen2

On gen2 and gen3 chipsets FBC is supported only on plane A. Fix (and
simplify) the plane checks in intel_update_fbc() accordingly.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c