firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE
authorMaxime Ripard <maxime@cerno.tech>
Wed, 15 Dec 2021 09:51:14 +0000 (10:51 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Jan 2022 12:16:10 +0000 (13:16 +0100)
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.

Acked-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215095117.176435-2-maxime@cerno.tech
include/soc/bcm2835/raspberrypi-firmware.h

index 73ad784fca9666558e14bcc40d4cb8c4f6257d07..811ea668c4a1ad71a5e8d46c5d7938e5c4d4f157 100644 (file)
@@ -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,