From patchwork Thu Apr 14 17:48:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8840371 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 4EBA59F71A for ; Thu, 14 Apr 2016 17:48:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A6AF20373 for ; Thu, 14 Apr 2016 17:48:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 196F520361 for ; Thu, 14 Apr 2016 17:48:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92CBB6EAB9; Thu, 14 Apr 2016 17:48:43 +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 38F2E6EAB7 for ; Thu, 14 Apr 2016 17:48:42 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id ot11so46865541pab.1 for ; Thu, 14 Apr 2016 10:48:42 -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=bleic2p2zJkxB1lM+JIt082tg+bm0hVSA9a+lmIgXq0=; b=QEQ289gN6tvilB8JtTtpJTEPGsGBbHLxShlXMaUYyX8+F3qUwOj6N/J3sovIypJSaQ 8iiLTniMMXjEcuF56gnY5LF+dByafMpRAEPncZMJpt/tsAeQWEfhBvYrhF0WQ+Ak0JG8 yE5DFosFKw3J0I+09TVPw3ZbWrJlMfCwixevZyk+A4yGNaJJSmun4roL6BvtxRjjmD8T JUR8ynrPTnXdC1lqWpurCsmTCgZPPQVx2nOAmu6Igi6fye2fTAaqUZzMYEbS4MnFxzOU qYA4fBn79ZzgbIO531Y/SLvEkpKOnBkc1vqQTUXZ8UADtvysdX4JZvByCgfVhNCBb0Dx J+aQ== X-Gm-Message-State: AOPr4FVNWuSO61CBlFx2EvbSp9uhOBtGfOoGtK0VYL5H1ReBxZIfKRRVYV8Uto7Z4rsgxQ== X-Received: by 10.66.139.9 with SMTP id qu9mr23073435pab.101.1460656121566; Thu, 14 Apr 2016 10:48:41 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 10:48:41 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 02/14] drm/armada: use drm_crtc_send_vblank_event() Date: Thu, 14 Apr 2016 10:48:13 -0700 Message-Id: <1460656118-16766-2-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: Russell King , 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/armada/armada_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c index 0293eb7..b8c8cb6 100644 --- a/drivers/gpu/drm/armada/armada_crtc.c +++ b/drivers/gpu/drm/armada/armada_crtc.c @@ -260,7 +260,7 @@ static void armada_drm_crtc_complete_frame_work(struct armada_crtc *dcrtc, if (fwork->event) { spin_lock_irqsave(&dev->event_lock, flags); - drm_send_vblank_event(dev, dcrtc->num, fwork->event); + drm_crtc_send_vblank_event(&dcrtc->crtc, fwork->event); spin_unlock_irqrestore(&dev->event_lock, flags); }