aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSibi Sankar <[email protected]>2023-11-29 12:27:48 +0530
committerSudeep Holla <[email protected]>2023-11-30 20:45:35 +0000
commitc3f17d5f89fc72d7b170beaf393a8687ae938b19 (patch)
tree329917d4466f132d3c3649b2dff2be24e9ed6ad9
parent3cc12bb83e6794de7f50799ce43d85c7a3d55828 (diff)
firmware: arm_scmi: Increase the maximum opp count in the perf protocol
The number of opps on certain variants of the X1E80100 SoC are greater than current maximum of 16, so increase the MAX_OPP count to 32 (next power of 2) to accommodate that. Signed-off-by: Sibi Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Cristian Marussi <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
-rw-r--r--drivers/firmware/arm_scmi/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scmi/perf.c b/drivers/firmware/arm_scmi/perf.c
index a648521e04a3..81dd5c5e5533 100644
--- a/drivers/firmware/arm_scmi/perf.c
+++ b/drivers/firmware/arm_scmi/perf.c
@@ -24,7 +24,7 @@
#include "protocols.h"
#include "notify.h"
-#define MAX_OPPS 16
+#define MAX_OPPS 32
enum scmi_performance_protocol_cmd {
PERF_DOMAIN_ATTRIBUTES = 0x3,