Message ID | 20211203135126.700165-2-maxime@cerno.tech (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DEE39C433EF for <linux-arm-kernel@archiver.kernel.org>; Fri, 3 Dec 2021 13:53:41 +0000 (UTC) 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=XMyBx7gxETunA+ u1yVT+OjALakDMDFu6gI18gPgtlh0nX5u0vYUnVMiJY4lgFvtmRxHpboCStXEI0I09TNh00V2ifs7 ttIaOR7C9AtOH1fzmg20gmmbc5PaK3A2KNcnr6ccXM0Xbinvvszk7YGgKjUQI+sflaCZtGEiDzu/j TwEwe2IK6Et9ufyEpN/VMKaGqB5cUzArlseI5Al5W13wvjsLSLLSVzE0Wa0KlS/f7+klQIlWBg6kG Vz3XBtqbP9Ye16f+WE+lco3P0/0eCOzwvW5Z1gcvvoyuLvajNBb/HaBeKiSTD9zjYJhS+GYLbtX80 imFV3hP3WjImzSS9oRMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mt8yk-00G3jH-6a; Fri, 03 Dec 2021 13:51:58 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mt8yL-00G3XV-0V; Fri, 03 Dec 2021 13:51:34 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 42E075800E3; Fri, 3 Dec 2021 08:51:32 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 03 Dec 2021 08:51:32 -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=LhsQ+GtDhypuNR/qxlWrY6eXxxPZ8 N8WvBG0xFKKJz2zHMT2nbiJ8GtWemLa/DzgAlM8J2LbEyspL2MyUq8z7TqVSEjVU bJIL/hxP1qolX9+cmLOvNKds5LKObhzrnjB9dYLaNjZpkRQ465So9lmli76NVv7r VkP6utITkDQZe9zxfyHYp5PyD9OF7tZ9RNioKxJDGsX/GeTc/SOGGJksqd+3ZqYY 4rAOKYuewQxlA74DUtRTvKHrXiVut4w38cVCUtOHG4mlDmRCiQSRVtV2ssVjDC/s g/L8dx36BHQXdA52iyKT3Uj1HAx3g6VgEKge4ZvDYSEZ61R8gAAuxhkuQ== 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=mLkWuLdr N868uFApRKcUpl1Ogy0q8WEpd9KZozK7EYGrSV18QFUKrYvK3nW4RRF9o8EAYH8x ARoV0F0lEPl70rqDzgOUtr3acawUZrKnQtLMs9Ney/6Rw59PSftSxsXsl3vrySog JsWpBPElqoJUq2aQp8pget87RM+PKZCt6rZKbn+HeszRbWEO+GbDsknOwQz68v3t M3IsyjVV3TephyBml20JMB/p/fmfPTjSZulX8odye8iOXOwRDhKkrd9wdDJ6tM7G ouCFfUIYG4xju7OdbVUgPVP6qF55AeLoNns4eMxUMIVycM0Yq21Wm8s+fWhEZ/nC s2sQGUDPUXYANg== X-ME-Sender: <xms:4yCqYf4uEferhIGrAQJ8eoNn5wT7gsWAS7RP-OET0w1Vz0Y9kHr8bg> <xme:4yCqYU5Sp4CTKl_1X-hvASKSDhq0nmEcLnFBaEM5wp7ixRSDaEVkNsBJHIIjVNVG7 78c9wnzS9dlDfDAySI> X-ME-Received: <xmr:4yCqYWd3eJaZwfkI8ETcP0x0qgONgH06NvELqUywf2FzS2nqyscxYP3ceOZqAtsIcMDSVl5F66QGVCnjet3iZzSeAAhth0PWsmMRzTanp8B4kw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieejgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: <xmx:4yCqYQLNaPY5PLuooOuUKkUj10waA9xwN4FZVVDC2O9sOSav6ulhsw> <xmx:4yCqYTLa6gjxPTWHwQu3rBsiTvOhIrs8UACHfmE4JWKZm8CpD59BVg> <xmx:4yCqYZxvBs82725Z4qFrX6G0GJmrMu86sr51Bro3sS1tYcPOGDnEJw> <xmx:5CCqYYDud3w7zXfh7K_6nuOJbqZOvgUjGj8ZncR0kcSC712MM927sw> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Dec 2021 08:51:31 -0500 (EST) From: Maxime Ripard <maxime@cerno.tech> To: Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, Maxime Ripard <maxime@cerno.tech>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, Nicolas Saenz Julienne <nsaenz@kernel.org>, Daniel Vetter <daniel.vetter@intel.com>, David Airlie <airlied@linux.ie> Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>, Phil Elwell <phil@raspberrypi.com>, Tim Gover <tim.gover@raspberrypi.com>, Dom Cobley <dom@raspberrypi.com>, linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH v2 1/3] firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE Date: Fri, 3 Dec 2021 14:51:24 +0100 Message-Id: <20211203135126.700165-2-maxime@cerno.tech> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211203135126.700165-1-maxime@cerno.tech> References: <20211203135126.700165-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211203_055133_163432_E1ACFA04 X-CRM114-Status: UNSURE ( 8.26 ) 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(+)