public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: remove redundant fbc warnings
@ 2016-07-05  9:28 Matthew Auld
  2016-07-05 10:21 ` ✗ Ro.CI.BAT: failure for " Patchwork
  2016-07-28 18:29 ` [PATCH] " Zanoni, Paulo R
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Auld @ 2016-07-05  9:28 UTC (permalink / raw)
  To: intel-gfx

The fbc enabled/active sanity checks are already done in
__intel_fbc_disable so no need to do them again.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/intel_fbc.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c
index 067b6f5..e77104d 100644
--- a/drivers/gpu/drm/i915/intel_fbc.c
+++ b/drivers/gpu/drm/i915/intel_fbc.c
@@ -1163,11 +1163,8 @@ void intel_fbc_disable(struct intel_crtc *crtc)
 		return;
 
 	mutex_lock(&fbc->lock);
-	if (fbc->crtc == crtc) {
-		WARN_ON(!fbc->enabled);
-		WARN_ON(fbc->active);
+	if (fbc->crtc == crtc)
 		__intel_fbc_disable(dev_priv);
-	}
 	mutex_unlock(&fbc->lock);
 
 	cancel_work_sync(&fbc->work.work);
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-02 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05  9:28 [PATCH] drm/i915: remove redundant fbc warnings Matthew Auld
2016-07-05 10:21 ` ✗ Ro.CI.BAT: failure for " Patchwork
2016-08-02 11:05   ` Matthew Auld
2016-08-02 11:27     ` Joonas Lahtinen
2016-07-28 18:29 ` [PATCH] " Zanoni, Paulo R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox