author: Windsome Zeng <windsome.zeng@starfivetech.com> 2023-09-22 18:37:17 +0800
committer: Windsome Zeng <windsome.zeng@starfivetech.com> 2023-09-22 18:37:17 +0800
commit: 9ac2549197e988bbbfaf464b9731b11535f3e43e
parent: 9c18126b50ecf05df1a11a0aa217a0fc0b3f005c
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){