mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
drm/arm: Don't set allow_fb_modifiers explicitly
Since
commit 890880ddfd
Author: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Date: Fri Jan 4 09:56:10 2019 +0100
drm: Auto-set allow_fb_modifiers when given modifiers at plane init
this is done automatically as part of plane init, if drivers set the
modifier list correctly. Which is the case here for both komeda and
malidp.
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: "James (Qian) Wang" <james.qian.wang@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Mihail Atanassov <mihail.atanassov@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210427092018.832258-1-daniel.vetter@ffwll.ch
This commit is contained in:
parent
1c4f39b042
commit
9d1cbe5fdf
@ -247,7 +247,6 @@ static void komeda_kms_mode_config_init(struct komeda_kms_dev *kms,
|
||||
config->min_height = 0;
|
||||
config->max_width = 4096;
|
||||
config->max_height = 4096;
|
||||
config->allow_fb_modifiers = true;
|
||||
|
||||
config->funcs = &komeda_mode_config_funcs;
|
||||
config->helper_private = &komeda_mode_config_helpers;
|
||||
|
@ -403,7 +403,6 @@ static int malidp_init(struct drm_device *drm)
|
||||
drm->mode_config.max_height = hwdev->max_line_size;
|
||||
drm->mode_config.funcs = &malidp_mode_config_funcs;
|
||||
drm->mode_config.helper_private = &malidp_mode_config_helpers;
|
||||
drm->mode_config.allow_fb_modifiers = true;
|
||||
|
||||
ret = malidp_crtc_init(drm);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user