author: Andy Hu <andy.hu@starfivetech.com> 2023-09-23 01:47:23 +0800
committer: Andy Hu <andy.hu@starfivetech.com> 2023-09-23 01:47:23 +0800
commit: cd3629d462ee08405b02a490400f06fa314161f9
parent: 40846e71c0bdfa2d9bead9a07d6c068ddbc10102
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/drivers/gpu/drm/verisilicon/vs_dc.c b/drivers/gpu/drm/verisilicon/vs_dc.c
index 085228bc1323..a9d132f27864 100644
--- a/drivers/gpu/drm/verisilicon/vs_dc.c
+++ b/drivers/gpu/drm/verisilicon/vs_dc.c
@@ -668,6 +668,7 @@ static int dc_init(struct device *dev)
dev_err(dev, "failed to get l2 cache size\n");
return ret;
}
+ l2_cache_size <<= 4;
ret = syscon_panel_parse_dt(dev);
if (ret){