author: andy.hu <andy.hu@starfivetech.com> 2023-09-22 11:00:13 +0000
committer: andy.hu <andy.hu@starfivetech.com> 2023-09-22 11:00:13 +0000
commit: de8f15975cb50652e35248604d23f4cf16cd0cde
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){