drm/i915: kill fbc.uncompressed_size
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 26 Oct 2015 20:44:25 +0000 (18:44 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 3 Dec 2015 13:36:42 +0000 (11:36 -0200)
commit559d9135835c39bec7fd580cae9ac73f005ae726
treebf1da2d4d25165dd611247419ad1167cc22d4d0a
parent128d735606d4e43bc6a56432cf66a68c2753bdce
drm/i915: kill fbc.uncompressed_size

Directly call intel_fbc_calculate_cfb_size() in the only place that
actually needs it, and use the proper check before removing the stolen
node. IMHO, this change makes our code easier to understand.

v2: Use drm_mm_node_allocated() (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/i915_drv.h
drivers/gpu/drm/i915/intel_fbc.c