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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8339EC433FE for ; Wed, 17 Nov 2021 14:51:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6952A61A3D for ; Wed, 17 Nov 2021 14:51:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231617AbhKQOx5 (ORCPT ); Wed, 17 Nov 2021 09:53:57 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:55997 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234951AbhKQOxq (ORCPT ); Wed, 17 Nov 2021 09:53:46 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 8F93158099C; Wed, 17 Nov 2021 09:50:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 17 Nov 2021 09:50:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=0dVVB/OyUykQQ BayNdwbSTIU/wmtxvli48qZr0+pxgg=; b=EeGbwviuAy5jgHg8MBhlQFZoxgmpA JdN6yQ9RBOSE+1J8PvAx0lg5dqBlYr5euIyFeixFu5B8c85T1aMetvFqDaMwVqGk 7XN+FslUjU+vTvP6jkuc6i669OjzjjtWNtUXF5/bd5fSIVjwbcL6Mf4/HNJiD7/M U461eqjz+2svtQlSwl5pV9FJZfjP7YbVrpmg0wOrvNHefhOy8meDFUO8NfCyaFLj +C0NoukZf/Jlc+JeOWvBc+zUIWj3QCXZrpXfOszz9OagS1mLanTl1+WcAnDU6yNL Jefe8A5/VI68ysDgpa8z3gEcNVvy9nMqg46ak5Ks8KDsNnn2YUG+/Fh6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=0dVVB/OyUykQQBayNdwbSTIU/wmtxvli48qZr0+pxgg=; b=b6peocAw DIfc7iCiklHWp4zY7aoqndHVXXBTIIb1XGNQ+eEYTnVOwhwO/nybckDK5P6IyAg8 apJj3hNbo8eF1d7GaMy9G0/W+n6t0aTcILmykjkneRXFEAF758ubwTaPLjLx4U1p GhybbevyaQojWZ/Asom1OSzGLbiLVkLlA+Ot4je6v1JD4fxkwjL9HBm3znpMrWoQ 3b0UCFNC3WQks70BIoNZz83iWMWJW4pVuKI7Q1+WSrR09vHVEQjN87JRjp9owE2b vVDBkpNy6J0h8wmvOmp90lXl/zYBy2oVSX5wOww4kDWlUosU9fw7u7YpTxskHyRX TTLL3Rysfn121A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeeggdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Nov 2021 09:50:46 -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 Cc: linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 2/5] firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE Date: Wed, 17 Nov 2021 15:50:37 +0100 Message-Id: <20211117145040.334827-3-maxime@cerno.tech> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211117145040.334827-1-maxime@cerno.tech> References: <20211117145040.334827-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The RPI_FIRMWARE_NOTIFY_DISPLAY_DONE firmware call allows to tell the firmware the kernel is in charge of the display now and the firmware can free whatever resources it was using. Signed-off-by: Maxime Ripard --- include/soc/bcm2835/raspberrypi-firmware.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h index 73ad784fca96..811ea668c4a1 100644 --- a/include/soc/bcm2835/raspberrypi-firmware.h +++ b/include/soc/bcm2835/raspberrypi-firmware.h @@ -91,6 +91,7 @@ enum rpi_firmware_property_tag { RPI_FIRMWARE_GET_POE_HAT_VAL = 0x00030049, RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00030050, RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058, + RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066, /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -- 2.33.1