Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7114792rwp; Tue, 18 Jul 2023 10:12:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFl6/1rYzlY1sKepiVjdgzggUhio0sAmnBbTFSlbyR26ufkPeWxLc0Yh8dF9IjLUG3pKvDq X-Received: by 2002:a05:6402:5109:b0:51e:34d8:f4c7 with SMTP id m9-20020a056402510900b0051e34d8f4c7mr9476760edd.2.1689700336378; Tue, 18 Jul 2023 10:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689700336; cv=none; d=google.com; s=arc-20160816; b=VLwxP/tnoKb3kTAm9kcYYffhQ9aKi5k9FhY93UEWLPIoH4ZGkYxj6hUPThSfbWbI5c Nl6dSbgJLPsFdGhg2r7QEiyS9EKQl2SZCeQCmuH7r3ZPgiPtpQgupwPODyEPooI7YPYj 9EmN23DVKl+MGc94pl4kJfEOUp5+CFVkJuFRb8BVMarcOSAzexxTYK4O6hz/o6dQSnqF 7OHrd4MYgQ94HIDAp1WuuABt8C3xP4JgeI+sSJYDnUlSU133tSAwYZGyggOu8+gGEWJi nzKaqkwAr/cf4HEp5qo8GO1O+0GmAR80INFlbQLcdcsvzEhwgYwGeAhzzmvc6hD2vXfU TcKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jQMbsl39VbuydIUiwwL4O7E0SIm2tK8jeeWUuVwbvQI=; fh=rkWprSr09iG7Aw7cStufNQtsAH0NhNBgTTIBreWhagQ=; b=pFYwzJwsnu1exjLPgxZwi8224hmjkf3q2PSQ8vJeCx9anZmhxzIgRciOofkwV87I2c zWhs8nBsdFYyua6Ya2I5uP/YsTbpQ/JT01NfiecfYky1dUf+MmpLntjQElK0ytf5vL8z C053Yzv9RaDL6FU8yX9kKH6/3YiVWAz9iPkU2Q4jcvX5y73cvkSX5QkpmqGgRTNNqpxn jkDdgb3cnwViS6AOc4LYlejfksMo1nCjaOKRpSds5ISY6C/SLhfvXz1czhYXhgR1tZdG yQFET0lgB8smwRgbzsIYy6mltJCFmUjY+gBibEja3HJZlm6KF9pu5FvWjguHwMykfkAb u1qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c19-20020a056402121300b0051dd616a276si1573828edw.71.2023.07.18.10.11.51; Tue, 18 Jul 2023 10:12:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233824AbjGRQ4m (ORCPT + 99 others); Tue, 18 Jul 2023 12:56:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232985AbjGRQzG (ORCPT ); Tue, 18 Jul 2023 12:55:06 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC3C1BEA for ; Tue, 18 Jul 2023 09:54:56 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5803:2d6d:5bbc:e252]) by andre.telenet-ops.be with bizsmtp id Ngur2A00f0ucMBo01gurGk; Tue, 18 Jul 2023 18:54:54 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qLnyD-001nZO-K0; Tue, 18 Jul 2023 18:54:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qLnyN-000gdW-L6; Tue, 18 Jul 2023 18:54:51 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart , Sui Jingfeng Subject: [PATCH v2 30/41] drm: renesas: shmobile: Use drm_crtc_handle_vblank() Date: Tue, 18 Jul 2023 18:54:35 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace the call to the legacy drm_handle_vblank() function with a call to the new drm_crtc_handle_vblank() helper. Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Reviewed-by: Sui Jingfeng --- v2: - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c index 6bc05a9e9661915e..44f12bfcb3ce575d 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c @@ -86,7 +86,7 @@ static irqreturn_t shmob_drm_irq(int irq, void *arg) spin_unlock_irqrestore(&sdev->irq_lock, flags); if (status & LDINTR_VES) { - drm_handle_vblank(dev, 0); + drm_crtc_handle_vblank(&sdev->crtc.base); shmob_drm_crtc_finish_page_flip(&sdev->crtc); } -- 2.34.1