Commit 4da45616 authored by Matthew Auld's avatar Matthew Auld Committed by Joonas Lahtinen

drm/i915: remove redundant fbc warnings

The fbc enabled/active sanity checks are already done in
__intel_fbc_disable so no need to do them again.
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467710914-15146-1-git-send-email-matthew.auld@intel.com
parent 2a13ae79
...@@ -1165,11 +1165,8 @@ void intel_fbc_disable(struct intel_crtc *crtc) ...@@ -1165,11 +1165,8 @@ void intel_fbc_disable(struct intel_crtc *crtc)
return; return;
mutex_lock(&fbc->lock); mutex_lock(&fbc->lock);
if (fbc->crtc == crtc) { if (fbc->crtc == crtc)
WARN_ON(!fbc->enabled);
WARN_ON(fbc->active);
__intel_fbc_disable(dev_priv); __intel_fbc_disable(dev_priv);
}
mutex_unlock(&fbc->lock); mutex_unlock(&fbc->lock);
cancel_work_sync(&fbc->work.work); cancel_work_sync(&fbc->work.work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment