Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab61c2e2 authored by Prabhakar Reddy Krishnappa's avatar Prabhakar Reddy Krishnappa
Browse files

msm: vidc: Limit the max secure instances to 3



Limit the secure instances to 2 in platform data,
but as per the design driver allows 3rd instance
as well since the secure flags were updated later
for the current instance. Hence total no of
concurrent secure sessions support will be
max-secure-instances + 1.

Change-Id: Iaf91f321a40c590936babb703d58b06dd6eccc25
Signed-off-by: default avatarPrabhakar Reddy Krishnappa <prkrishn@codeaurora.org>
parent e8329f96
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -192,7 +192,14 @@ static struct msm_vidc_common_data sm8150_common_data[] = {
	},
	{
		.key = "qcom,max-secure-instances",
		.value = 5,
		.value = 2,             /*
					 * As per design driver allows 3rd
					 * instance as well since the secure
					 * flags were updated later for the
					 * current instance. Hence total
					 * secure sessions would be
					 * max-secure-instances + 1.
					 */
	},
	{
		.key = "qcom,max-hw-load",