Skip to content

Commit 31d6fee

Browse files
Tian Taoxin3liang
authored andcommitted
drm/hisilicon: Enable the shadowfb for hibmc
set the prefer_shadow as 1,so we use the shadowfb to acceleration. Signed-off-by: Tian Tao <[email protected]> Signed-off-by: Gong junjie <[email protected]> Signed-off-by: Xinliang Liu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent bac5118 commit 31d6fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static int hibmc_kms_init(struct hibmc_drm_private *priv)
9595

9696
priv->dev->mode_config.fb_base = priv->fb_base;
9797
priv->dev->mode_config.preferred_depth = 24;
98-
priv->dev->mode_config.prefer_shadow = 0;
98+
priv->dev->mode_config.prefer_shadow = 1;
9999

100100
priv->dev->mode_config.funcs = (void *)&hibmc_mode_funcs;
101101

0 commit comments

Comments
 (0)