From: Paulo Zanoni Date: Fri, 3 Jul 2015 18:40:54 +0000 (-0300) Subject: drm/i915: protect FBC functions with FBC checks X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf73c361f986a04af332600bf06476c8f481c5b;p=pandora-kernel.git drm/i915: protect FBC functions with FBC checks Now all the functions called by other files check whether FBC has been initialized. This allows us to drop the checks on the static functions. v2: - s/HAS_FBC/dev_priv->display.enable_fbc/ everywhere but the init function (Chris). Suggested-by: Chris Wilson Signed-off-by: Paulo Zanoni Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed