From patchwork Tue Jul 5 00:04:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9213253 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 3F7F160467 for ; Tue, 5 Jul 2016 00:05:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DCBB287DD for ; Tue, 5 Jul 2016 00:05:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21BA9287E6; Tue, 5 Jul 2016 00:05:05 +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 D4802287DD for ; Tue, 5 Jul 2016 00:05:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D5CE6E53D; Tue, 5 Jul 2016 00:05:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw0-f195.google.com (mail-yw0-f195.google.com [209.85.161.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id DDCB66E53D for ; Tue, 5 Jul 2016 00:05:00 +0000 (UTC) Received: by mail-yw0-f195.google.com with SMTP id i12so6564320ywa.0 for ; Mon, 04 Jul 2016 17:05: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=8Byzut9qa4uFI7LpXsLZ/kRVGzm6UHgMCe5VaKfisho=; b=luyC3J3FXodKWmYgA1ftlXRkdNARRx03Eod+w7CLuC/y6MEcHkCDxb0seHyzDTW31S gOqMHP3uLGhqd+8sKKM0QUhxZ0q8AemfVAxqd4ItUxa60MbFULpTaDu6qIuCo8GIMmQ0 2rEgp7B50HL57oV2k3IebpC2l416it0H83QuIoo3+sYxap4MdsM2sCv+sU4I9blL+0up 0DRknYAUtaojV0NMgSDxTC13AGuvYyb68mBuJnpIPKh5Mrhf+IJzuf91KNM4m/eyxzvU tJChsEfAKEeqYt3QVeTNHHVHKg3ymME43dCuct5F5SNsd7+tJHgYEhrUeR3RTIVFEQdk 4lhA== X-Gm-Message-State: ALyK8tIzJkIEpLL+NN75kWC7tIppyq71TJUfb3q2BQ05DzARyEjac93HesN8m2ijznPvaA== X-Received: by 10.37.42.7 with SMTP id q7mr8891740ybq.184.1467677099994; Mon, 04 Jul 2016 17:04:59 -0700 (PDT) Received: from jade.localdomain ([189.61.225.79]) by smtp.gmail.com with ESMTPSA id k5sm455562ywd.50.2016.07.04.17.04.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 17:04:59 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/6] drm/armada: use drm_crtc_handle_vblank() Date: Mon, 4 Jul 2016 21:04:48 -0300 Message-Id: <1467677092-5089-2-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1467677092-5089-1-git-send-email-gustavo@padovan.org> References: <1467677092-5089-1-git-send-email-gustavo@padovan.org> Cc: Daniel Vetter , 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-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Remove legacy usage of drm_handle_vblank() 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 34405e4..2f58e9e 100644 --- a/drivers/gpu/drm/armada/armada_crtc.c +++ b/drivers/gpu/drm/armada/armada_crtc.c @@ -410,7 +410,7 @@ static void armada_drm_crtc_irq(struct armada_crtc *dcrtc, u32 stat) DRM_ERROR("graphics underflow on crtc %u\n", dcrtc->num); if (stat & VSYNC_IRQ) - drm_handle_vblank(dcrtc->crtc.dev, dcrtc->num); + drm_crtc_handle_vblank(&dcrtc->crtc); spin_lock(&dcrtc->irq_lock); ovl_plane = dcrtc->plane;