From mboxrd@z Thu Jan 1 00:00:00 1970 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 F1102C433F5 for ; Mon, 13 Dec 2021 16:26:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237387AbhLMQ0i (ORCPT ); Mon, 13 Dec 2021 11:26:38 -0500 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:38311 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238964AbhLMQ0h (ORCPT ); Mon, 13 Dec 2021 11:26:37 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 646B75801BD; Mon, 13 Dec 2021 11:26:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 13 Dec 2021 11:26:37 -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=5vdEa6qIK+Pl4PDMRRW/BnIuTi qM1tXz1szVmprOufQ=; b=E4Rm6TPv+/gWTMBHDKeQaB+qamWwV91QnxxbT3myib ZhhxS6fygzykWcCDIeOivfKGgPuzdze8sLZxZ1TefAIBbUsR1uYz0e7fBZO6dT/f wOFc+Xd+hnRyuYovVCwfqQOjkpcTb43iEA+6C6m1drvyMS44L+waIsvzlMaefNqZ hcifneCwx//cLOI+QuZK5KvjRMOPakqrled7PwKXcvuqO0zsQ+1O6Mzg51nUZW/6 8lCG3YamNPeLO1VYpdIveQHU6RV+Z04fYgx1rTnVK2Wwy+riyA5pujGjv1rEvdh2 paQ6ZoGeXit7UhXaAhYifSrBzPLsg0IuQukEVDyoAn5g== 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=5vdEa6 qIK+Pl4PDMRRW/BnIuTiqM1tXz1szVmprOufQ=; b=dol1zxjFi6MhlAIVTL5YA2 NqF98qazN5XBkyNHtADyMd+vv/vTuEGIa3WCg0ZJmBDhCJuRKxjeSze7MEeOrstc 9Up/pGle/FEUk2+DsYI++tAka5ZnxK4qwCRpHcS3G6Zxh6ep7Z0L370QEXQIhQZc fLaAdmTu5NljblnbB7Bi5DE9t49xLUZzYpy2QK4aOPqGMSNqF+9Az1ACWvsyKMDY zmsjEg/oBWSvz53v0Rm+id7O7qbVNvXR6GloyxtAesTzg1eQOqWUiwChfSG9d9KZ Vz8EKOW/seGf0mkO4M6l7SlRn5Y30gvf502BbCIgauHpuAjcPbvn7c2rySN/w/0Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkeekgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgtggfgsehtqhertdertdejnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepteeikefgffekgeekledtheduteetjefgkeeuvefhhfetgedugfektdeugeffgfef necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgi himhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Dec 2021 11:26:36 -0500 (EST) From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie , Florian Fainelli , Scott Branden , Nicolas Saenz Julienne , Rob Herring , Frank Rowand , Ray Jui Cc: Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH RESEND v4 v4 0/4] drm/vc4: Use the firmware to stop the display pipeline Date: Mon, 13 Dec 2021 17:26:31 +0100 Message-Id: <20211213162635.252582-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 ---=0D =0D Changes from v3:=0D - Support nomodeset=0D =0D Changes from v2:=0D - Switch back to rpi_firmware_get / rpi_firmware_put=0D - Moved the rpi_firmware pointer to a local variable=0D =0D Changes from v1:=0D - Use of_find_compatible_node instead of a phandle=0D - Use devm_rpi_firmware_get=0D =0D Maxime Ripard (4):=0D firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE=0D drm/vc4: Support nomodeset=0D drm/vc4: Remove conflicting framebuffers before callind bind_all=0D drm/vc4: Notify the firmware when DRM is in charge=0D =0D drivers/gpu/drm/vc4/vc4_drv.c | 50 ++++++++++++++++++----=0D include/soc/bcm2835/raspberrypi-firmware.h | 1 +=0D 2 files changed, 42 insertions(+), 9 deletions(-)=0D =0D -- =0D 2.33.1=0D =0D