BACKPORT: drm/i915/bdw: Add FBC support

This got lost when we shuffled around our internal branch and
GEN7_FEATURES macro. There were no HW changes to support FBC, so we just
need to set the flag.

v2: Don't allow FBC for any pipe but A on platforms with DDI. (Paulo)

Cc: Daisy Sun <daisy.sun@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
(cherry picked from commit 8f94d24b7b3191fc8a6cf16c9d815410f5e09ae3)
Signed-off-by: Stphane Marchesin <marcheu@chromium.org>

BUG=chromium:596738
TEST=boot on yuna, look at perf stat -a -e cycles -e uncore_imc/data_reads/ -e uncore_imc/data_writes/ sleep 10 and see the numbers are lower

Change-Id: Ie61266c336a4f423fac0cae90965370b85e2cd6c
Reviewed-on: https://chromium-review.googlesource.com/334275
Commit-Ready: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
2 files changed