From patchwork Tue Feb 14 00:37:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13139221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43C6BC636CC for ; Tue, 14 Feb 2023 00:37:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjBNAhm (ORCPT ); Mon, 13 Feb 2023 19:37:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbjBNAhl (ORCPT ); Mon, 13 Feb 2023 19:37:41 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A63F1A496 for ; Mon, 13 Feb 2023 16:37:40 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4313B3D7; Tue, 14 Feb 2023 01:37:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1676335057; bh=oK9K1dHY0egTuw0eGZmS4ldHFcwlutfiU1zfyIs4blc=; h=From:To:Cc:Subject:Date:From; b=UPRbdST860cxRD6yjMX35G6xfTIRVdQFCLIcnBe0mtHpNS3SPnyRVUrn9SofaYm4o ws95NaL1tvJ1/5Jroy1uiFnCAl4o4qyHgVPdTTCn0c0s2EGWlFtdwO/7iBg5oYNWFY p1tO0Za8jMmqVDXR556mkYX9ILf3x2ScyzJxfTY8= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org, Tomi Valkeinen , Kieran Bingham Subject: [PATCH 0/3] drm: rcar-du: Fix vblank wait timeout when stopping LVDS output Date: Tue, 14 Feb 2023 02:37:33 +0200 Message-Id: <20230214003736.18871-1-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hello, This patch series fixes an issue on the R-Car D3 and E3 SoCs, which causes a vertical blanking wait timeout when stopping an LVDS output. Patches 1/3 and 2/3 perform preparatory refactoring, and patch 3/3 fixes the problem. Please see the commit message of the last patch for a detailed explanation of the issue. Laurent Pinchart (3): drm: rcar-du: lvds: Call function directly instead of through pointer drm: rcar-du: lvds: Move LVDS enable code to separate code section drm: rcar-du: lvds: Fix LVDS PLL disable on D3/E3 drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 18 +-- drivers/gpu/drm/rcar-du/rcar_lvds.c | 176 ++++++++++++++----------- drivers/gpu/drm/rcar-du/rcar_lvds.h | 12 +- 3 files changed, 118 insertions(+), 88 deletions(-) base-commit: 48075a66fca613477ac1969b576a93ef5db0164f