bbb50fc989f06cdbfdd91f8bed24aad60f9671ba
[openwrt/staging/blogic.git] /
1 From 269985a75363eecabfc6e039c4731100c4d47b05 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Wed, 15 Dec 2021 10:51:14 +0100
4 Subject: [PATCH] firmware: raspberrypi: Add
5 RPI_FIRMWARE_NOTIFY_DISPLAY_DONE
6
7 The RPI_FIRMWARE_NOTIFY_DISPLAY_DONE firmware call allows to tell the
8 firmware the kernel is in charge of the display now and the firmware can
9 free whatever resources it was using.
10
11 Acked-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
12 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
13 Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-2-maxime@cerno.tech
14 ---
15 include/soc/bcm2835/raspberrypi-firmware.h | 1 +
16 1 file changed, 1 insertion(+)
17
18 --- a/include/soc/bcm2835/raspberrypi-firmware.h
19 +++ b/include/soc/bcm2835/raspberrypi-firmware.h
20 @@ -91,6 +91,7 @@ enum rpi_firmware_property_tag {
21 RPI_FIRMWARE_GET_POE_HAT_VAL = 0x00030049,
22 RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00030050,
23 RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058,
24 + RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066,
25
26 /* Dispmanx TAGS */
27 RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,