lede/target/linux/bcm27xx/patches-5.15/950-0022-firmware-raspberrypi-Add-RPI_FIRMWARE_NOTIFY_DISPLAY.patch

28 lines
1.2 KiB
Diff
Raw Normal View History

2022-09-13 19:25:12 +08:00
From 269985a75363eecabfc6e039c4731100c4d47b05 Mon Sep 17 00:00:00 2001
2021-09-18 01:32:55 +08:00
From: Maxime Ripard <maxime@cerno.tech>
2022-09-13 19:25:12 +08:00
Date: Wed, 15 Dec 2021 10:51:14 +0100
2021-09-18 01:32:55 +08:00
Subject: [PATCH] firmware: raspberrypi: Add
RPI_FIRMWARE_NOTIFY_DISPLAY_DONE
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.
2022-09-13 19:25:12 +08:00
Acked-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
2021-09-18 01:32:55 +08:00
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-09-13 19:25:12 +08:00
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-2-maxime@cerno.tech
2021-09-18 01:32:55 +08:00
---
include/soc/bcm2835/raspberrypi-firmware.h | 1 +
1 file changed, 1 insertion(+)
--- a/include/soc/bcm2835/raspberrypi-firmware.h
+++ b/include/soc/bcm2835/raspberrypi-firmware.h
2022-09-13 19:25:12 +08:00
@@ -91,6 +91,7 @@ enum rpi_firmware_property_tag {
RPI_FIRMWARE_GET_POE_HAT_VAL = 0x00030049,
RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00030050,
2021-09-18 01:32:55 +08:00
RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058,
+ RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066,
/* Dispmanx TAGS */
RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,