]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9f55a8081182673f6d06ee042a59dbd68a1cba9
tree94411e7888cc2ca844c13538e4c336a559a5f11d
parent7eab0bc4ce32fcb7ad090af85818c3ad03022f86
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