Message ID | 20211117145040.334827-3-maxime@cerno.tech (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=lSZn=QE=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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 619BCC433EF for <linux-arm-kernel@archiver.kernel.org>; Wed, 17 Nov 2021 14:53:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2F5C961A3D for <linux-arm-kernel@archiver.kernel.org>; Wed, 17 Nov 2021 14:53:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2F5C961A3D 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.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GIMWhuqe/tbkk0IWSAuHew8Lip+MAbH4YhE5HTckw5E=; b=Wr/TWP7c01TSwB fl2QCWplw9Zxdb2ZBSatHANeh+Fz4rntmj+BpciyJ70d7bWj/Hw3a6HU7qsvY6QhtseukXEDC6IKh AldWDT+HAGXsm1l0k5iplxPWPcqW/Y0KGdgLh3RgF+f98CchEQjFR2kOSo0zLSfhYZF09hYpDbqFd Jyw28tFW54QbQqaQlcBS32oCqsMZBn4+gt4SR2sbp7bWInBKtDHuDeKg73hEYkph6HkxXIXxZGuN3 R2TdrSUtoO6z42Qc76ZLdQRBzCEIrenD5tbfg8VgHqMewW4QuB55/P4yUd6NBL9wVWXl4QJvuajRO dE0EMyQqG3VqQG2Cwtaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnMHt-005EPP-BO; Wed, 17 Nov 2021 14:51:49 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnMGw-005E6h-Ab; Wed, 17 Nov 2021 14:50:53 +0000 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: <xms:xxaVYdfY5Op2u0A8gPMXsPtucEzwmm72KtYdIfpE9GfPIEjQkN66dw> <xme:xxaVYbOZaz4Rvi3ibk2FdECmVvl_pT8E8CnexQi8SZNeQjzsdKxVzAP4DeWEi2qIt 6v5vU57PWW2oV4t4Z4> X-ME-Received: <xmr:xxaVYWibSyJORSbUyzDD1QZTnqtPSh4R1SSDQM7rjcvE9CTLOODU2gNNQNkvlpNoFMtUMSqJjawgSWmV4-_0osOZ0I21sryG0S4A7wO0M5E> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeeggdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: <xmx:xxaVYW8HlEByxqNlzC_JrkHsxXLuTQo5Lp8tqoGrwy9TdXUWu-ojuA> <xmx:xxaVYZuoTNZkJ_5foe4i_1fhPAo6hPxzbnQereoshA5EiRhkcgJoIg> <xmx:xxaVYVGo6XcuWWRZJql0HdYUvkULR4z0MQ0XulbZXulEdCwZbuAd3g> <xmx:xxaVYUl1Ib5ICI3kdxSlkwHBnzl9DNBdRFAeMHe5pWu9MOdnSDmQBQ> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Nov 2021 09:50:46 -0500 (EST) From: Maxime Ripard <maxime@cerno.tech> To: Scott Branden <sbranden@broadcom.com>, Nicolas Saenz Julienne <nsaenz@kernel.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Ray Jui <rjui@broadcom.com>, Florian Fainelli <f.fainelli@gmail.com>, Daniel Vetter <daniel.vetter@intel.com>, David Airlie <airlied@linux.ie>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, Maxime Ripard <maxime@cerno.tech> Cc: linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson <dave.stevenson@raspberrypi.com>, Phil Elwell <phil@raspberrypi.com>, Tim Gover <tim.gover@raspberrypi.com>, Dom Cobley <dom@raspberrypi.com>, 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211117_065050_541137_4C5A554B X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm/vc4: Use the firmware to stop the display pipeline
|
expand
|
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,
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 <maxime@cerno.tech> --- include/soc/bcm2835/raspberrypi-firmware.h | 1 + 1 file changed, 1 insertion(+)