bcm27xx: add kernel 5.10 support
[openwrt/staging/noltari.git] / target / linux / bcm27xx / patches-5.10 / 950-0309-include-firmware-Add-enum-for-RPI_FIRMWARE_FRAMEBUFF.patch
1 From 80025c80d57bdd265e47d1bfe62e68f54ca672d5 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 3 Sep 2020 17:09:07 +0100
4 Subject: [PATCH] include/firmware: Add enum for
5 RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_ID
6
7 Used by audio and FKMS.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
10 ---
11 include/soc/bcm2835/raspberrypi-firmware.h | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/include/soc/bcm2835/raspberrypi-firmware.h
15 +++ b/include/soc/bcm2835/raspberrypi-firmware.h
16 @@ -114,6 +114,7 @@ enum rpi_firmware_property_tag {
17 RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF = 0x0004000f,
18 RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF = 0x00040010,
19 RPI_FIRMWARE_FRAMEBUFFER_RELEASE = 0x00048001,
20 + RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_ID = 0x00040016,
21 RPI_FIRMWARE_FRAMEBUFFER_SET_DISPLAY_NUM = 0x00048013,
22 RPI_FIRMWARE_FRAMEBUFFER_GET_NUM_DISPLAYS = 0x00040013,
23 RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_SETTINGS = 0x00040014,