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: 9213259 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 9078C60467 for ; Tue, 5 Jul 2016 00:05:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F946287DD for ; Tue, 5 Jul 2016 00:05:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 740B2287E6; Tue, 5 Jul 2016 00:05:12 +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 347F9287DD for ; Tue, 5 Jul 2016 00:05:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3DFD36E541; Tue, 5 Jul 2016 00:05:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B7836E547 for ; Tue, 5 Jul 2016 00:05:09 +0000 (UTC) Received: by mail-yw0-f193.google.com with SMTP id v77so6599184ywg.2 for ; Mon, 04 Jul 2016 17:05:09 -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=gV8VbM4BsUmJCS8gajjorVYlt+Mchjdd3+rMPedjHVXin9JJ1s8qL90rpDrT8b3zWE vkNH8EAUEh/fPSkhr+Fq3SaDZKrTfn3BLljgMJTa1/F5CKVv1vl6SiGJdU0fSXtPEvmV yxU/9hJOz0CjqISGSMUALI4CUGDIwse/WqU+bXL7/CTlM2BUQt99ByEkEt8u+XQDkR/t gv9vC5s2ccM0eL+l3KGGiaTckSPmfPCMRXaptz+50p3WFQbo8fqxEOgoH0pQOfHLU2yE vHXj3L4K/55XZYzkKjBRXPqdhfmY4AqLezWU7+QQtYHfTmFjXgKmSh/Z6EtRt4rwck4x wEdQ== X-Gm-Message-State: ALyK8tIy93J/FGp0lMzRw+ycoHb66gLXw4HXkcGAtsSJPWV1ndSSyGohDDthrVOJFpcUGQ== 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 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> Cc: Daniel Vetter , open list , "open list:DRM DRIVERS FOR RENESAS" , Laurent Pinchart , 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/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; }