MLK-17473-6 drm/imx: dcss: remove 'allow_fb_modifiers' assignment
authorFancy Fang <chen.fang@nxp.com>
Tue, 30 Jan 2018 07:36:50 +0000 (15:36 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Since the 'allow_fb_modifiers' has been assigned to be true in
imx drm core driver in bind(), it is not necessary to set this
flag again here.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-crtc.c

index 3dec638..eb188a9 100644 (file)
@@ -310,8 +310,6 @@ static int dcss_crtc_init(struct dcss_crtc *crtc,
                return ret;
        }
 
-       drm->mode_config.allow_fb_modifiers = true;
-
        disable_irq(crtc->irq);
 
        return 0;