]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Require fence only for FBC capable planes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 21 Feb 2018 16:02:33 +0000 (18:02 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Feb 2018 16:11:05 +0000 (18:11 +0200)
commit1e54bf427206892823333766a23d3bc84a940ef5
tree8cc330af0f954d314a53adab8cacb53a21911b4f
parentb5f242dd491040b7ed73b0b26326fdc643c5a1f9
drm/i915: Require fence only for FBC capable planes

As only a subset of primary planes are FBC capable there's no need
to waste fences on all of them. So let's skip the fence if the plane
isn't even fbc capable.

In the future we might extend this to skip the fence even for FBC
capable planes if the crtc and/or plane state isn't suitable
for FBC.

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