[PATCH 4/5] aaa

José Roberto de Souza jose.souza at intel.com
Wed Mar 27 00:28:16 UTC 2019


---
 drivers/gpu/drm/i915/intel_fbc.c | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c
index c223b2ce0319..20b882e72453 100644
--- a/drivers/gpu/drm/i915/intel_fbc.c
+++ b/drivers/gpu/drm/i915/intel_fbc.c
@@ -735,18 +735,9 @@ static bool intel_fbc_can_activate(struct intel_crtc *crtc)
 	 * For now this will effectively disable FBC with 90/270 degree
 	 * rotation.
 	 */
-	if (!i915_vma_is_map_and_fenceable(cache->vma)) {
-		/* Requirements not meet see __i915_vma_set_map_and_fenceable() */
-		fbc->no_fbc_reason = "framebuffer is not fenceable";
-		return false;
-	}
-
 	if (!(cache->flags & PLANE_HAS_FENCE)) {
-		/*
-		 * If framebuffer can have fence but don't has it, it is
-		 * because buffer is not tiled.
-		 */
-		fbc->no_fbc_reason = "framebuffer not tiled or fenced";
+		/* Requirements not meet see i915_gem_object_pin_to_display_plane(), __i915_vma_set_map_and_fenceable() */
+		fbc->no_fbc_reason = "framebuffer not fenced";
 		return false;
 	}
 
-- 
2.21.0



More information about the Intel-gfx-trybot mailing list