mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
|
From 269985a75363eecabfc6e039c4731100c4d47b05 Mon Sep 17 00:00:00 2001
|
||
|
From: Maxime Ripard <maxime@cerno.tech>
|
||
|
Date: Wed, 15 Dec 2021 10:51:14 +0100
|
||
|
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.
|
||
|
|
||
|
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 | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- 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,
|