diff --git a/drivers/gpu/msm/kgsl_gmu.h b/drivers/gpu/msm/kgsl_gmu.h index 069f83581cfe..1478d6b747a8 100644 --- a/drivers/gpu/msm/kgsl_gmu.h +++ b/drivers/gpu/msm/kgsl_gmu.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2017-2018, 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -142,7 +142,7 @@ struct rpmh_votes_t { struct gmu_bw_votes cnoc_votes; }; -#define MAX_GMU_CLKS 6 +#define MAX_GMU_CLKS 7 #define DEFAULT_GMU_FREQ_IDX 1 /* diff --git a/drivers/gpu/msm/kgsl_pwrctrl.c b/drivers/gpu/msm/kgsl_pwrctrl.c index 85e1bf8531ea..30b201933b1d 100644 --- a/drivers/gpu/msm/kgsl_pwrctrl.c +++ b/drivers/gpu/msm/kgsl_pwrctrl.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2010-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -61,7 +61,8 @@ static const char * const clocks[] = { "rbcpr_clk", "iref_clk", "gmu_clk", - "ahb_clk" + "ahb_clk", + "apb_pclk", }; static unsigned long ib_votes[KGSL_MAX_BUSLEVELS]; diff --git a/drivers/gpu/msm/kgsl_pwrctrl.h b/drivers/gpu/msm/kgsl_pwrctrl.h index 23fbc2ec1883..7042846830b1 100644 --- a/drivers/gpu/msm/kgsl_pwrctrl.h +++ b/drivers/gpu/msm/kgsl_pwrctrl.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2010-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -25,7 +25,7 @@ #define KGSL_PWR_ON 0xFFFF -#define KGSL_MAX_CLKS 16 +#define KGSL_MAX_CLKS 17 #define KGSL_MAX_REGULATORS 2 #define KGSL_MAX_PWRLEVELS 10