Enrik Berkhan 3b9a030e84 hw/arm/bcm2835_property: Add support for RPI_FIRMWARE_FRAMEBUFFER_GET_NUM_DISPLAYS
In more recent Raspbian OS Linux kernels, the fb driver gives up
immediately if RPI_FIRMWARE_FRAMEBUFFER_GET_NUM_DISPLAYS fails or no
displays are reported.

This change simply always reports one display. It makes bcm2835_fb work
again with these more recent kernels.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Enrik Berkhan <Enrik.Berkhan@inka.de>
Message-Id: <20220812143519.59134-1-Enrik.Berkhan@inka.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-09-14 11:19:39 +01:00
..
2022-03-09 09:28:28 +00:00
2022-02-26 18:40:51 +01:00
2022-05-03 15:17:30 +04:00
2022-05-08 18:52:37 +01:00
2022-05-08 18:52:37 +01:00
2022-08-01 11:58:02 +02:00
2021-05-02 17:24:50 +02:00
2021-03-12 12:48:56 +00:00
2021-11-02 17:24:18 +01:00
2021-02-08 15:15:32 +01:00
2021-11-09 10:11:27 +01:00