From patchwork Mon Jun 6 14:41:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9158399 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 3EBA360759 for ; Mon, 6 Jun 2016 14:42:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FC8C2015F for ; Mon, 6 Jun 2016 14:42:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 248462821F; Mon, 6 Jun 2016 14:42:11 +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 D39B92015F for ; Mon, 6 Jun 2016 14:42:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DB656E583; 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-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D25D6E583 for ; Mon, 6 Jun 2016 14:41:58 +0000 (UTC) Received: by mail-yw0-f193.google.com with SMTP id l126so19297791ywe.3 for ; Mon, 06 Jun 2016 07:41:58 -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=kj5TayaKe8GMmA/yCt2adzwsnwr0b2pE+t3rqr/zEr4=; b=XaXCnCHgPPayZBl364ScIOqZubpfN29xH8yM27y0Fr4DQcyz5H607ojnRP8Saw/hRf eDbZfxLHXgywZvXjbRnD/2dsUAsyA6yF3xecGhcDOBpj/bcymlL0HRA/hE4KMxlvTgWD ieN3Qu+SdEzCyIGaQ8ufZ2RJzjya4pPMhew5N/3Ud1FFn24+btpNdzb//7GpWyF/Q/xY 0MJ/mCo5fIZk9J1q5c36vzb9sX5TXYDE3nly9G5ciQvh4NMIugVYrdAfgN6kcjj1CPg4 9W5SS8RGJLx4C8E4Td1koSKME4h4kFwAUAj6SPBQ6+CvOyE7Jjsv09BhtPyx14dKk6El y2aA== X-Gm-Message-State: ALyK8tIh3+h/YZp4cAXVjU/DIC62yTIul1E/FU4w0TYMkkyQMmRVC1QQT1pwpHI3yEitOg== X-Received: by 10.37.198.194 with SMTP id k185mr11341553ybf.89.1465224116712; Mon, 06 Jun 2016 07:41:56 -0700 (PDT) Received: from jade.localdomain ([201.82.24.203]) by smtp.gmail.com with ESMTPSA id f124sm11736407ywb.13.2016.06.06.07.41.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jun 2016 07:41:56 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH RESEND 03/14] drm/atmel: use drm_crtc_send_vblank_event() Date: Mon, 6 Jun 2016 11:41:34 -0300 Message-Id: <1465224105-21485-3-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: Gustavo Padovan , open list 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 Acked-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c index cf23a75..6fca9c4 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c @@ -374,7 +374,7 @@ static void atmel_hlcdc_crtc_finish_page_flip(struct atmel_hlcdc_crtc *crtc) spin_lock_irqsave(&dev->event_lock, flags); if (crtc->event) { - drm_send_vblank_event(dev, crtc->id, crtc->event); + drm_crtc_send_vblank_event(&crtc->base, crtc->event); drm_vblank_put(dev, crtc->id); crtc->event = NULL; }