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>
This commit is contained in:
Sibi Sankar 2023-11-29 12:27:48 +05:30 committed by Sudeep Holla
parent 3cc12bb83e
commit c3f17d5f89

View file

@ -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,