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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86F02C433F5 for ; Wed, 17 Nov 2021 14:50:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0629661B4C for ; Wed, 17 Nov 2021 14:50:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0629661B4C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 16A056E091; Wed, 17 Nov 2021 14:50:45 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2E6AF6E188 for ; Wed, 17 Nov 2021 14:50:43 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 84A8758099A; Wed, 17 Nov 2021 09:50:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 17 Nov 2021 09:50:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm1; bh=N8Os3CMXs4JeHb6BC6GVswjkk2 zShXd0QpBit+CX7W8=; b=Jj0nTVl/ThKcmFPMNbQgp1ei52exmpLqHyeq0Vlb5f J7BPTGiI0E1I5hpn7jmYStFmgK12wkeU5nbpWvKibt/x+1oLoNS59dWFAWMFAej9 b6mt+twUGmqIOY42GPrrEnUP4/gnUtkeqDe5lE5rU+8N2DliAvQYUZmgjnQJ6r7V eO0drrRtlWMrwCt9WYvJxmCfYzScdgEcnTQKNd64NCyyGOarA8arS0BeFu6A42S2 /8p76NyQCxDyR8+gUM5kXNIyofBSRME6iHdk9XR4N0W65u7XcP0KbR3mIJZrgc4V Ttchs4Gw4HCbau5w9dy8fM6CzDBeY30nAzAWJ7EuLDOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=N8Os3C MXs4JeHb6BC6GVswjkk2zShXd0QpBit+CX7W8=; b=PN3sCUz3WSJ18kU4cx/vd2 WIrduIeDKg++umRkJS7reAOfgqmASbm5Ij5i+q7wye/clT8TWmJ8XU0JaVamEWip jDSvNfZdQrFIge+8v2pCwc0v8B3q6TJHUTtLOO0UBfqOTxqWvwC26HLTVrzgH6Pl cDP03RdRv+8TRk0ru7GgqaXW/iq7K1inKH4Cw1TMRovV3fqmEAdg/hDslVNfyi4m 3CLkpa4r+v7yICLo6BsGhvJz+hTVibcLuH7DsJ6zqUKbbvPGXlXSmLoxvIa5Yz2k LJeFWLjOS0RuEVWKRWVCIcbHzqodZJYTRT9IUp5KTVKx0SgnFo4A6SVWbaYsiGxA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeeggdeigecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgtggfgsehtqhertdertdejnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepteeikefgffekgeekledtheduteetjefgkeeuvefhhfetgedugfektdeugeffgfef necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgi himhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Nov 2021 09:50:41 -0500 (EST) From: Maxime Ripard To: Scott Branden , Nicolas Saenz Julienne , Rob Herring , Frank Rowand , Ray Jui , Florian Fainelli , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Subject: [PATCH 0/5] drm/vc4: Use the firmware to stop the display pipeline Date: Wed, 17 Nov 2021 15:50:35 +0100 Message-Id: <20211117145040.334827-1-maxime@cerno.tech> X-Mailer: git-send-email 2.33.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Dom Cobley , Tim Gover , Dave Stevenson , dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi,=0D =0D The VC4 driver has had limited support to disable the HDMI controllers and= =0D pixelvalves at boot if the firmware has enabled them.=0D =0D However, this proved to be limited, and a bit unreliable so a new firmware= =0D command has been introduced some time ago to make it free all its resources= and=0D disable any display output it might have enabled.=0D =0D This series takes advantage of that command to call it once the transition = from=0D simplefb to the KMS driver has been done.=0D =0D Let me know what you think,=0D Maxime=0D =0D Maxime Ripard (5):=0D dt-bindings: display: vc4: Add optional phandle to firmware=0D firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE=0D drm/vc4: Remove conflicting framebuffers before callind bind_all=0D drm/vc4: Notify the firmware when DRM is in charge=0D ARM: dts: rpi: Add the firmware node to vc4=0D =0D .../bindings/display/brcm,bcm2835-vc4.yaml | 5 ++++=0D arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 +++=0D drivers/gpu/drm/vc4/vc4_drv.c | 27 ++++++++++++++++---=0D drivers/gpu/drm/vc4/vc4_drv.h | 2 ++=0D include/soc/bcm2835/raspberrypi-firmware.h | 1 +=0D 5 files changed, 35 insertions(+), 4 deletions(-)=0D =0D -- =0D 2.33.1=0D =0D