From patchwork Tue Jul 5 00:04:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9213257 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 A51DA60467 for ; Tue, 5 Jul 2016 00:05:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 939BD287DD for ; Tue, 5 Jul 2016 00:05:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87A7B287E6; Tue, 5 Jul 2016 00:05:10 +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 4A8FA287DD for ; Tue, 5 Jul 2016 00:05:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AD6216E544; Tue, 5 Jul 2016 00:05:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f195.google.com (mail-yw0-f195.google.com [209.85.161.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 718476E53F; Tue, 5 Jul 2016 00:05:06 +0000 (UTC) Received: by mail-yw0-f195.google.com with SMTP id l125so6576683ywb.1; Mon, 04 Jul 2016 17:05:06 -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=NJ3pI541UFIX2e2slTcG6/3nzPKx1aVq+UwbtDdmiGw=; b=FyOT38HXDAGM5qw+8neb0ErLyhDSmv/1nM2eEAdxebuQhuMTDLp0847LcfEEg8MlIX NzR2Ijm93pPo0NzWI7z5ezAo2/nKA6hNLOaHMoMne8ZrPdaoVXVBREUxcBSnvWJw53Xh ISwDKgfvPD4L2+HJvuEo6Sn9XYaGMHowfQPg3lmT1rdh92rl3JgqQmvPrelfHUZgIa39 QpOxqroOQDHzGHd68nybebCNdRa2QY17CZ78ri349rW31c9WMnv428W1lAPGOcsEUHXX 6+ICHSvVIIfR4hIjDXxr0ey+GrcaO2UAX89Aq1ajERgxDaK1+mM3u0JnGzt7zGDrMfLL eLHA== X-Gm-Message-State: ALyK8tJovj3d+d67HH1M92t25m1pYXPhOEkYXGR9+QerZ3lXw/CoW7taU3RiONBB2Y4GwA== X-Received: by 10.13.195.132 with SMTP id f126mr8970179ywd.206.1467677105539; Mon, 04 Jul 2016 17:05:05 -0700 (PDT) Received: from jade.localdomain ([189.61.225.79]) by smtp.gmail.com with ESMTPSA id k5sm455562ywd.50.2016.07.04.17.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 17:05:05 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 4/6] drm/nouveau: use drm_crtc_handle_vblank() Date: Mon, 4 Jul 2016 21:04:50 -0300 Message-Id: <1467677092-5089-4-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 , Ben Skeggs , "open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS" , 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/nouveau/nouveau_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index bd8d5bb..6e97862 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -47,7 +47,7 @@ nouveau_display_vblank_handler(struct nvif_notify *notify) { struct nouveau_crtc *nv_crtc = container_of(notify, typeof(*nv_crtc), vblank); - drm_handle_vblank(nv_crtc->base.dev, nv_crtc->index); + drm_crtc_handle_vblank(&nv_crtc->base); return NVIF_NOTIFY_KEEP; }