From patchwork Thu Apr 14 17:48:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8840541 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 A2D219F71A for ; Thu, 14 Apr 2016 17:49:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF42E202FF for ; Thu, 14 Apr 2016 17:49:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 89F7D20373 for ; Thu, 14 Apr 2016 17:49:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93D596EAC4; Thu, 14 Apr 2016 17:49:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7DF276EAC3 for ; Thu, 14 Apr 2016 17:49:00 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id er2so18340302pad.3 for ; Thu, 14 Apr 2016 10:49:00 -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=ZKWKd/S9REjK/sjeBwOg3KMh2RirCGabC+xXGoREOWk=; b=eABIBFoFc97yxrpeJyH6tN8A7HQQ2pMLzhP+XL8rxP5JfwcW5ruFW3GVaSw97FHCGg PObMmgdhHPS6Gf3FG873CtM3+Sr+xhKcuIrBRwOcL4MXQGyQ5tuRf24RnpfWrkscCz6k 9jBcm7liFJzMiGHBzw88m6GR/V+h5Appt22e7YDTa8M3gA0Aomu0O1JvW5AB0nLGwr1B Naf7gMNsUKbKLKTapCmL4qHIEwdgV3MDMbegtylKILYj+hhdkhSUNY3ZuYyZjuUK/AWG vAZL+vJjmtpA4PL+h7tU9fPnDWpjdtG/sawdYNcZp+bq9MOmzqqy/rQMkxLz5qrV/Yv9 oWPg== X-Gm-Message-State: AOPr4FUCka+u0msye4wqGxh/fJ/6JtWtjz0IF8prLewHUH3vTk6KJoqeJcn9HFSB+Ep8+w== X-Received: by 10.66.118.166 with SMTP id kn6mr22895068pab.33.1460656139993; Thu, 14 Apr 2016 10:48:59 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 10:48:59 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 11/14] drm/tilcdc: use drm_crtc_send_vblank_event() Date: Thu, 14 Apr 2016 10:48:22 -0700 Message-Id: <1460656118-16766-11-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: Daniel Vetter , open list , Jyri Sarha , Darren Etheridge , Tomi Valkeinen , 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-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 Reviewed-by: Jyri Sarha Tested-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c index 051e5e1..79027b1 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c @@ -707,7 +707,7 @@ irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc) event = tilcdc_crtc->event; tilcdc_crtc->event = NULL; if (event) - drm_send_vblank_event(dev, 0, event); + drm_crtc_send_vblank_event(crtc, event); spin_unlock_irqrestore(&dev->event_lock, flags); }