drm/i915: Suppress fbc suggestion to increase stolen if disabled
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 12:20:37 +0000 (12:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 22:48:30 +0000 (22:48 +0000)
commit8d0e9bcb2b0cbc2d5c3668e1a445571b4b73317f
tree340d40595a172452ec1b941fad583bc7abe1ce37
parent0f2f61d4a8d4611155e7d1633db271ead9057981
drm/i915: Suppress fbc suggestion to increase stolen if disabled

If the reserved region of memory has not been setup (most probably
because it has been limited by hardware or virtualisation), don't tell
the user to try and increase the amount of memory reserved for graphics.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223122037.16174-1-chris@chris-wilson.co.uk
eviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_fbc.c