From patchwork Mon Jun 6 14:41:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9158405 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 3F69560777 for ; Mon, 6 Jun 2016 14:42:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 300C42015F for ; Mon, 6 Jun 2016 14:42:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24CF620265; Mon, 6 Jun 2016 14:42:13 +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 D515227B13 for ; Mon, 6 Jun 2016 14:42:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 885CC6E588; Mon, 6 Jun 2016 14:42:09 +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 BBB956E588 for ; Mon, 6 Jun 2016 14:42:07 +0000 (UTC) Received: by mail-yw0-f194.google.com with SMTP id j74so19317463ywg.1 for ; Mon, 06 Jun 2016 07:42:07 -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=onogf8ombM5ExHJ97ArnBj+CV0zgxTJjm4nT0Nh73Y4=; b=Vw/43rUggjiMSSvD0xqMgKl2oBBwOu68aOt+O1aiQdm7yQwJ4+a/u/Ef3hdaRYz6MX Qd9QQAzjSL4zTzImJenng2GbeeBkVCT/CpRDlZozc46lReWNr1aYDwFXePAhrEmlJy49 iMQ7ARCGCPWS6nhv0diyBZ/RLlI+N6Ey3OPo2Yr7XbngfABCP65B7pyChJ8VylzYDt4h tM5mnCYWozCvNEPSjGUd04F5S63EVcc6Z6rZuiiZhNfHqjmJO+S3Xr/Wrqx5zN6k2wlF UcUUwCGJI8gY8J0I0vr+cFDp/Rf8h9dqpt41HWQIpl258KnbJCJowjcdur32aXG/2dkF 6frQ== X-Gm-Message-State: ALyK8tJ5i68fs+KeYurOsxCEXQkLZ/WmwJP3xM7ooj4yyIRQt8Ispl8tYqeLpY/6a8U4Kg== X-Received: by 10.129.49.203 with SMTP id x194mr11211621ywx.79.1465224126652; Mon, 06 Jun 2016 07:42:06 -0700 (PDT) Received: from jade.localdomain ([201.82.24.203]) by smtp.gmail.com with ESMTPSA id f124sm11736407ywb.13.2016.06.06.07.42.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jun 2016 07:42:06 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH RESEND 05/14] drm/udl: use drm_crtc_send_vblank_event() Date: Mon, 6 Jun 2016 11:41:36 -0300 Message-Id: <1465224105-21485-5-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1465224105-21485-1-git-send-email-gustavo@padovan.org> References: <1465224105-21485-1-git-send-email-gustavo@padovan.org> Cc: Daniel Vetter , Carlos Palminha , open list , Alex Deucher , Dave Airlie , Thierry Reding , 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 Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/udl/udl_modeset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c index b87afee..f92ea95 100644 --- a/drivers/gpu/drm/udl/udl_modeset.c +++ b/drivers/gpu/drm/udl/udl_modeset.c @@ -376,7 +376,7 @@ static int udl_crtc_page_flip(struct drm_crtc *crtc, spin_lock_irqsave(&dev->event_lock, flags); if (event) - drm_send_vblank_event(dev, 0, event); + drm_crtc_send_vblank_event(crtc, event); spin_unlock_irqrestore(&dev->event_lock, flags); crtc->primary->fb = fb;