drm/i915: Disable FBC if BIOS reserved memory (stolen) is unavailable
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Sep 2019 17:59:26 +0000 (18:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Sep 2019 10:43:48 +0000 (11:43 +0100)
commite3cb653d5cc42c2073ad174ae1130dc9e39266e9
treecb10886ab3e2981b7c7f9844fe1ccdb8d07c6907
parent933122cc7cd26e67dfc7975f821033e89f766963
drm/i915: Disable FBC if BIOS reserved memory (stolen) is unavailable

The FBC requires a couple of contiguous buffers, which we allocate from
stolen memory. If stolen memory is unavailable, we cannot allocate those
buffers and so cannot support FBC. Mark it so.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190911175926.31365-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_fbc.c