drm/i915/fbc: Nuke fbc_supported()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Dec 2019 13:34:51 +0000 (15:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Jan 2020 15:18:52 +0000 (17:18 +0200)
commit661d6ec00058b11eae0ff0db198aafc9a2166b19
tree94411e7888cc2ca844c13538e4c336a559a5f11d
parent9ecc6eabd8fee0972de3f23bd66d1a54b1781fa6
drm/i915/fbc: Nuke fbc_supported()

fbc_supported() is just a pointless wrapper for HAS_FBC(). Get
rid of it. In places where we're operating on a specific plane
we can replace this with a plane->has_fbc check to avoid
doing anything for crtcs that don't even support fbc.

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