1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/root/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-04-22 15:00:47 +00:00
From a0073d49aea8a21658a00c24439ca95f42baf3ee Mon Sep 17 00:00:00 2001
2021-11-24 17:32:01 +00:00
From: Maxime Ripard <maxime@cerno.tech>
2022-04-22 15:00:47 +00:00
Date: Wed, 15 Dec 2021 10:51:14 +0100
Subject: [PATCH 022/828] firmware: raspberrypi: Add
2021-11-24 17:32:01 +00:00
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-04-22 15:00:47 +00:00
Acked-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
2021-11-24 17:32:01 +00:00
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-04-22 15:00:47 +00:00
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-2-maxime@cerno.tech
2021-11-24 17:32:01 +00: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-04-22 15:00:47 +00: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-11-24 17:32:01 +00:00
RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058,
+ RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066,
/* Dispmanx TAGS */
RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,