From patchwork Thu Apr 14 17:48:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8840471 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E42CF9F36E for ; Thu, 14 Apr 2016 17:49:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A72832034A for ; Thu, 14 Apr 2016 17:49:02 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B71AA20361 for ; Thu, 14 Apr 2016 17:49:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AD3A96EAC2; Thu, 14 Apr 2016 17:48:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id A434C6EABE for ; Thu, 14 Apr 2016 17:48:57 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id zm5so46921519pac.0 for ; Thu, 14 Apr 2016 10:48:57 -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=5lHIJDJEyF2RjjUB6roifo9YuSBpgNLmlLHRwqYe09U=; b=NOXvlDBOPC5ubRhUApb8DlIj0ixbe2OjZHrRSRHmBzb2JVvQX6JQyjrPM9wX/4rGOI eqMV8LQEyJqwBhjdoDzVB13gsxj2vEqbx3Oo9NG6J5npasC3JI2zIZhGYJUiNVJhPj5V /SGTE9WMJRaIuXbv/Wwf2WsFRXyLgyh33gcVSY7w5/w9GGMpnBdlPDte2+mxnPvKTECL 5GZeEDF+b68DvFUvoxrkR5n8VxacsSibgzNmgzLXR+n15eUb1+VyG8g16RlEOShv0XLc ZQk3Lyt1hL3gAc3ONnyjuJHc/Oz6PsYU1OU0EDGP5isJIkeuYEdGn+138dHcIRl48Sn+ IlQA== X-Gm-Message-State: AOPr4FWlWG35EF3FpJds1fGZ+CaquTdo1o88YJnQXv1VKuBB1OdzvIxLiCLT2yCJ2tH9mA== X-Received: by 10.66.62.232 with SMTP id b8mr22831564pas.104.1460656137213; Thu, 14 Apr 2016 10:48:57 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 10:48:56 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 10/14] drm/shmobile: use drm_crtc_send_vblank_event() Date: Thu, 14 Apr 2016 10:48:21 -0700 Message-Id: <1460656118-16766-10-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: "open list:DRM DRIVERS FOR RENESAS" , Gustavo Padovan , Laurent Pinchart , 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 Acked-by: Laurent Pinchart --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c index 88643ab..1e154fc 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c @@ -440,7 +440,7 @@ void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc) event = scrtc->event; scrtc->event = NULL; if (event) { - drm_send_vblank_event(dev, 0, event); + drm_crtc_send_vblank_event(&scrtc->crtc, event); drm_vblank_put(dev, 0); } spin_unlock_irqrestore(&dev->event_lock, flags);