Skip to content

Commit c3f17d5

Browse files
Sibi Sankarsudeep-holla
authored andcommitted
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 <quic_sibis@quicinc.com> Link: https://lore.kernel.org/r/20231129065748.19871-4-quic_sibis@quicinc.com Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
1 parent 3cc12bb commit c3f17d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/firmware/arm_scmi

drivers/firmware/arm_scmi/perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "protocols.h"
2525
#include "notify.h"
2626

27-
#define MAX_OPPS 16
27+
#define MAX_OPPS 32
2828

2929
enum scmi_performance_protocol_cmd {
3030
PERF_DOMAIN_ATTRIBUTES = 0x3,

0 commit comments

Comments
 (0)