summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_cmd_parser.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2015-07-03 15:40:54 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-06 14:34:27 +0200
commit0bf73c361f986a04af332600bf06476c8f481c5b (patch)
tree9f1444da06fc4598cb4bf81da40ca74e3361aa90 /drivers/gpu/drm/i915/i915_cmd_parser.c
parentc80ac8548d167dfb7affdb997d99d875bb1a28a3 (diff)
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 <chris@chris-wilson.co.uk> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_cmd_parser.c')
0 files changed, 0 insertions, 0 deletions