From dfd5c711ca61f6c7feb23d50d892d566dbde7c7d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 28 Jul 2020 13:01:42 +0100 Subject: [PATCH] drm/vc4: Remove UIF from the list of modifiers returned by format_mod_supported FKMS was listing UIF in the supported modifiers from format_mod_supported when actually the pipeline doesn't support it. X was then choosing to use it, and that then failed to render. Remove references to UIF. https://github.com/raspberrypi/linux/issues/3665 Signed-off-by: Dave Stevenson --- drivers/gpu/drm/vc4/vc4_firmware_kms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c index cbbd3c7a3e17a1..98dec6d71f489f 100644 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c @@ -701,7 +701,6 @@ static bool vc4_fkms_format_mod_supported(struct drm_plane *plane, switch (modifier) { case DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED: case DRM_FORMAT_MOD_LINEAR: - case DRM_FORMAT_MOD_BROADCOM_UIF: return true; default: return false;