From patchwork Tue Jul 5 00:04:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9213261 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 55C8360467 for ; Tue, 5 Jul 2016 00:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43C20287DD for ; Tue, 5 Jul 2016 00:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38553287E6; Tue, 5 Jul 2016 00:05:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC0FF287DD for ; Tue, 5 Jul 2016 00:05:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 042116E545; Tue, 5 Jul 2016 00:05:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.161.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id 293736E547 for ; Tue, 5 Jul 2016 00:05:12 +0000 (UTC) Received: by mail-yw0-f194.google.com with SMTP id l125so6576819ywb.1 for ; Mon, 04 Jul 2016 17:05:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lomAyQ1R2zf7ezMRRlXlX7/bWczqqG3Or+1TLS65scM=; b=jVU0/OttZn0UzWfwFY9Lg6fIe3pmTw1MZ2beGBeFMZrXpRV+dLSxxMFdtUyCkwHbCI 7MOn5IG+oVjmmMhtR8Kgy4YDRECE7OrpVyqjMpZoU4ge1Mr/1G2QNN+4kNr90Swikz3H H/FuK+wOzCosqCVUgR42sutbfLtc3yDCkpsMH2LOrssF2Dop8kKOzuZz2j3dzGlB2u5+ ZlHk3jyJEpLEKMIlDVZvBSoAMM+0QDqWo4EeK84TLvNugEmbX46ElSJU6H/cgywG8C7P GWFirIWzhVR2lKe8SOJvOXnVs7Lbi4qRikQfM/D/1wRjrBBSfmtAF8Tcfpk+38ODiLqB hr1Q== X-Gm-Message-State: ALyK8tK3/+NDvHGxqpMj8xtFY8Vqo2hSaetNUQEWYtrOfzIInYqE8Ggvp0BZFyisaML24w== X-Received: by 10.37.109.197 with SMTP id i188mr8898606ybc.64.1467677111226; Mon, 04 Jul 2016 17:05:11 -0700 (PDT) Received: from jade.localdomain ([189.61.225.79]) by smtp.gmail.com with ESMTPSA id k5sm455562ywd.50.2016.07.04.17.05.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 17:05:10 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 6/6] drm/tilcdc: use drm_crtc_handle_vblank() Date: Mon, 4 Jul 2016 21:04:52 -0300 Message-Id: <1467677092-5089-6-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1467677092-5089-1-git-send-email-gustavo@padovan.org> References: <1467677092-5089-1-git-send-email-gustavo@padovan.org> Cc: Daniel Vetter , open list , Jyri Sarha , Tomi Valkeinen , Gustavo Padovan X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 79027b1..107c8bd 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c @@ -697,7 +697,7 @@ irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc) spin_unlock_irqrestore(&tilcdc_crtc->irq_lock, flags); - drm_handle_vblank(dev, 0); + drm_crtc_handle_vblank(crtc); if (!skip_event) { struct drm_pending_vblank_event *event;