From patchwork Tue Jul 5 00:04:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9213273 X-Patchwork-Delegate: geert@linux-m68k.org 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 45BB460467 for ; Tue, 5 Jul 2016 00:06:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32B86287DD for ; Tue, 5 Jul 2016 00:06:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23052287E5; Tue, 5 Jul 2016 00:06: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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6B6E287DD for ; Tue, 5 Jul 2016 00:06:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753595AbcGEAF6 (ORCPT ); Mon, 4 Jul 2016 20:05:58 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:34199 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754090AbcGEAFJ (ORCPT ); Mon, 4 Jul 2016 20:05:09 -0400 Received: by mail-yw0-f194.google.com with SMTP id l125so6576742ywb.1; Mon, 04 Jul 2016 17:05:08 -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=Elp7JhrJvLi//HTPu+SuBjTHVKHEyf0hnawubTrO8Hk=; b=hKS+cvyH4380uCBOHB/xH8pkw3GduC9bNJsx60K8/49xdH3UL2o6bm26zw0KHkO+i4 ys7JO0Z4S1cjDekNKa7nYJDxXxNiNf2IubGZkXIs8gia773FP1ALmMqeiA+rZYr0iSrr KYaRZoGPDePAip+BAydTZr1aFpRQJv27muDDobnhUutZNqTnSu0V+T6gItWcUxoR+H5l iJQpNbdCTFtKlisR7vopB6uuHhM2D7Novpjsdj9GUXhZ4GP8wIRYsW1v4gyxsJFNgxhL jZVfsa+63sJt38AOFG5jGGzxpx2ejkj1qtTj4KV7EOOABX6+/nJkyhbfuLJ71bK2pcgZ PxVg== X-Gm-Message-State: ALyK8tKh0OU0OB4iNLy5tBcT9+vGlf6P/wfbhvRTDR6gQU0bBACJECQoYZs+i6oKJCidvQ== X-Received: by 10.37.108.69 with SMTP id h66mr8392770ybc.76.1467677108424; Mon, 04 Jul 2016 17:05:08 -0700 (PDT) Received: from jade.localdomain ([189.61.225.79]) by smtp.gmail.com with ESMTPSA id k5sm455562ywd.50.2016.07.04.17.05.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 17:05:07 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Cc: Daniel Vetter , Gustavo Padovan , Laurent Pinchart , David Airlie , linux-renesas-soc@vger.kernel.org (open list:DRM DRIVERS FOR RENESAS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 5/6] drm/rcar-du: use drm_crtc_handle_vblank() Date: Mon, 4 Jul 2016 21:04:51 -0300 Message-Id: <1467677092-5089-5-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> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c index 0d8bdda..e39fcef 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c @@ -552,7 +552,7 @@ static irqreturn_t rcar_du_crtc_irq(int irq, void *arg) rcar_du_crtc_write(rcrtc, DSRCR, status & DSRCR_MASK); if (status & DSSR_FRM) { - drm_handle_vblank(rcrtc->crtc.dev, rcrtc->index); + drm_crtc_handle_vblank(&rcrtc->crtc); rcar_du_crtc_finish_page_flip(rcrtc); ret = IRQ_HANDLED; }