<div dir="ltr">Thanks for the patch.<br>Applied to drm-misc-next.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 11 Jan 2020 at 11:09, Tian Tao <<a href="mailto:tiantao6@hisilicon.com">tiantao6@hisilicon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">set the prefer_shadow as 1,so we use the shadowfb to acceleration.<br>
<br>
Signed-off-by: Tian Tao <<a href="mailto:tiantao6@hisilicon.com" target="_blank">tiantao6@hisilicon.com</a>><br>
Signed-off-by: Gong junjie <<a href="mailto:gongjunjie2@huawei.com" target="_blank">gongjunjie2@huawei.com</a>><br>
---<br>
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c<br>
index dbdeb2b..2883555 100644<br>
--- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c<br>
+++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c<br>
@@ -93,7 +93,7 @@ static int hibmc_kms_init(struct hibmc_drm_private *priv)<br>
<br>
priv->dev->mode_config.fb_base = priv->fb_base;<br>
priv->dev->mode_config.preferred_depth = 24;<br>
- priv->dev->mode_config.prefer_shadow = 0;<br>
+ priv->dev->mode_config.prefer_shadow = 1;<br>
<br>
priv->dev->mode_config.funcs = (void *)&hibmc_mode_funcs;<br>
<br>
-- <br>
2.7.4<br>
<br>
</blockquote></div>