From patchwork Thu Apr 14 17:48:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8840421 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1955EC0553 for ; Thu, 14 Apr 2016 17:48:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1613520373 for ; Thu, 14 Apr 2016 17:48:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 00C2320374 for ; Thu, 14 Apr 2016 17:48:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3688E6EABB; Thu, 14 Apr 2016 17:48:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6FE276EAB7 for ; Thu, 14 Apr 2016 17:48:43 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id zm5so46919751pac.0 for ; Thu, 14 Apr 2016 10:48:43 -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=YHcYHE2m7FNLGLGMjV6TiqBRGtxoe/84CfRAKAsu/mQ=; b=KLRfnlMdfv+AbyKeh71HHFyMCChTs/sS9sR7qG/cnFIwEWqq3hkhk5u3uaVLffV0UG cTNYJNjKdH4DcL9Bpfo35bmwgdVDcDIbE0cTAzou3NEvqQMDkakSs+9BFlAUjBS77Mmp HhKngh/8qpf6oeVNxg0Qvcl/WhKUbxytK3BYPqmCy/BDT5dPDWoOTq1YL+X8Vyg+XOZC 83RhLvkQK9SAOQu+Ke57L4Qn4umougXL62QMV8kEzQjAcIVg/dcO+xLYn0/FKEVrF4pV SpT8GTF09J6U9LIBSc8foIgeoGrLstSGUcDEs8csMWQCY4sbxm2RYuFg5f8KdXtJD8+/ cIGQ== X-Gm-Message-State: AOPr4FVP/DsNL84B1/UTovo/uC7+OP0Ipb8pYrd3GzbbKeX9b8+UNx3neC83OGQ8zyjPLQ== X-Received: by 10.66.150.163 with SMTP id uj3mr23072177pab.23.1460656122706; Thu, 14 Apr 2016 10:48:42 -0700 (PDT) Received: from jade.localdomain (c-73-241-147-137.hsd1.ca.comcast.net. [73.241.147.137]) by smtp.gmail.com with ESMTPSA id y27sm59344437pfi.11.2016.04.14.10.48.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 10:48:42 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 03/14] drm/atmel: use drm_crtc_send_vblank_event() Date: Thu, 14 Apr 2016 10:48:14 -0700 Message-Id: <1460656118-16766-3-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1460656118-16766-1-git-send-email-gustavo@padovan.org> References: <1460656118-16766-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-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org 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/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 58c4f78..a299a71 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c @@ -279,7 +279,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; }