7ae22a72fcb975fef104b884762dd26b65bf7cd7
[openwrt/staging/blocktrron.git] /
1 From 132454781a30f57ccb393443209def76dc0b572a Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 28 Jul 2020 13:01:42 +0100
4 Subject: [PATCH] drm/vc4: Remove UIF from the list of modifiers
5 returned by format_mod_supported
6
7 FKMS was listing UIF in the supported modifiers from format_mod_supported
8 when actually the pipeline doesn't support it. X was then choosing to
9 use it, and that then failed to render.
10
11 Remove references to UIF.
12
13 https://github.com/raspberrypi/linux/issues/3665
14
15 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
16 ---
17 drivers/gpu/drm/vc4/vc4_firmware_kms.c | 1 -
18 1 file changed, 1 deletion(-)
19
20 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
21 +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
22 @@ -718,7 +718,6 @@ static bool vc4_fkms_format_mod_supporte
23 switch (modifier) {
24 case DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED:
25 case DRM_FORMAT_MOD_LINEAR:
26 - case DRM_FORMAT_MOD_BROADCOM_UIF:
27 return true;
28 default:
29 return false;