Skip to contentSkip to conversation

drm/sprd: remove allow_fb_modifiers setting

PATCH In review Tomohito Esaki 2 participants 2 messages Feb 4, 2022 – Feb 6, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/sprd: remove allow_fb_modifiers setting

Remove allow_fb_modifiers setting in this driver. The allow_fb_modifiers flag was removed.

Fixes 3d082157a242 ("drm: remove allow_fb_modifiers")
---
 drivers/gpu/drm/sprd/sprd_drm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/sprd/sprd_drm.c +0 -1
index a077e2d4d721..54c851bccf5b 100644
@@ -43,7 +43,6 @@ static void sprd_drm_mode_config_init(struct drm_device *drm)
 	drm->mode_config.min_height = 0;
 	drm->mode_config.max_width = 8192;
 	drm->mode_config.max_height = 8192;
-	drm->mode_config.allow_fb_modifiers = true;
 
 	drm->mode_config.funcs = &sprd_drm_mode_config_funcs;
 	drm->mode_config.helper_private = &sprd_drm_mode_config_helper;
Signature · 1 line
2.17.1
#1 lore raw

Hi Tomohito,

Quoted 15 lines · Tomohito Esaki

Remove allow_fb_modifiers setting in this driver. The allow_fb_modifiers flag was removed.

Fixes 3d082157a242 ("drm: remove allow_fb_modifiers")
---
 drivers/gpu/drm/sprd/sprd_drm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/sprd/sprd_drm.c +0 -0
index a077e2d4d721..54c851bccf5b 100644

drivers/gpu/drm/sprd/sprd_drm.c static void sprd_drm_mode_config_init(struct drm_device *drm) · line 48

Quoted 7 lines
drivers/gpu/drm/sprd/sprd_drm.c +0 -1
@@ -43,7 +43,6 @@ static void sprd_drm_mode_config_init(struct drm_device *drm)
 	drm->mode_config.min_height = 0;
 	drm->mode_config.max_width = 8192;
 	drm->mode_config.max_height = 8192;
-	drm->mode_config.allow_fb_modifiers = true;
 
 	drm->mode_config.funcs = &sprd_drm_mode_config_funcs;
 	drm->mode_config.helper_private = &sprd_drm_mode_config_helper;

Thanks, this partially fixed my arm build.
Pushed to drm-misc-next and should appear in -next within some days.

Sam