Skip to content

Commit 855e9d0

Browse files
superna9999robclark
authored andcommitted
drm/msm: adreno: enable GMU bandwidth for A740 and A750
Now all the DDR bandwidth voting via the GPU Management Unit (GMU) is in place, declare the Bus Control Modules (BCMs) and the corresponding parameters in the GPU info struct. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/629401/ Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 7047e65 commit 855e9d0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/gpu/drm/msm/adreno/a6xx_catalog.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,17 @@ static const struct adreno_info a7xx_gpus[] = {
13881388
.pwrup_reglist = &a7xx_pwrup_reglist,
13891389
.gmu_chipid = 0x7020100,
13901390
.gmu_cgc_mode = 0x00020202,
1391+
.bcms = (const struct a6xx_bcm[]) {
1392+
{ .name = "SH0", .buswidth = 16 },
1393+
{ .name = "MC0", .buswidth = 4 },
1394+
{
1395+
.name = "ACV",
1396+
.fixed = true,
1397+
.perfmode = BIT(3),
1398+
.perfmode_bw = 16500000,
1399+
},
1400+
{ /* sentinel */ },
1401+
},
13911402
},
13921403
.address_space_size = SZ_16G,
13931404
.preempt_record_size = 4192 * SZ_1K,
@@ -1432,6 +1443,17 @@ static const struct adreno_info a7xx_gpus[] = {
14321443
.pwrup_reglist = &a7xx_pwrup_reglist,
14331444
.gmu_chipid = 0x7090100,
14341445
.gmu_cgc_mode = 0x00020202,
1446+
.bcms = (const struct a6xx_bcm[]) {
1447+
{ .name = "SH0", .buswidth = 16 },
1448+
{ .name = "MC0", .buswidth = 4 },
1449+
{
1450+
.name = "ACV",
1451+
.fixed = true,
1452+
.perfmode = BIT(2),
1453+
.perfmode_bw = 10687500,
1454+
},
1455+
{ /* sentinel */ },
1456+
},
14351457
},
14361458
.address_space_size = SZ_16G,
14371459
.preempt_record_size = 3572 * SZ_1K,

0 commit comments

Comments
 (0)