From: Daniel Vetter Subject: [PATCH 05/16] drm/i915: wait one vblank when disabling CRCs Date: Wed, 16 Oct 2013 22:55:50 +0200 Message-ID: <1381956961-16875-6-git-send-email-daniel.vetter@ffwll.ch> References: <1381956961-16875-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by gabe.freedesktop.org (Postfix) with ESMTP id C6EE6E60C2 for ; Wed, 16 Oct 2013 14:00:05 -0700 (PDT) Received: by mail-ee0-f46.google.com with SMTP id c13so646542eek.33 for ; Wed, 16 Oct 2013 14:00:05 -0700 (PDT) In-Reply-To: <1381956961-16875-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org This avoids a spurious spurious interrupt warning. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_debugfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 323f58e..349f149 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2040,6 +2040,8 @@ static int pipe_crc_set_source(struct drm_device *dev, enum pipe pipe, DRM_DEBUG_DRIVER("stopping CRCs for pipe %c\n", pipe_name(pipe)); + intel_wait_for_vblank(dev, pipe); + kfree(pipe_crc->entries); pipe_crc->entries = NULL; } -- 1.8.4.rc3