lkml.org 
[lkml]   [2018]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 37/43] drm/sun4i: drv: Allow framebuffer modifiers in mode config
    Date
    From: Paul Kocialkowski <contact@paulk.fr>

    This is the final step to indicate to the core that our driver
    supports framebuffer modifiers.

    Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
    ---
    drivers/gpu/drm/sun4i/sun4i_drv.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c
    index 5ae32973cf34..a041febe391a 100644
    --- a/drivers/gpu/drm/sun4i/sun4i_drv.c
    +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c
    @@ -186,6 +186,7 @@ static int sun4i_drv_bind(struct device *dev)
    }

    drm_mode_config_init(drm);
    + drm->mode_config.allow_fb_modifiers = true;

    ret = component_bind_all(drm->dev, drm);
    if (ret) {
    --
    2.19.1
    \
     
     \ /
      Last update: 2018-11-23 10:28    [W:4.137 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site