media: venus: core: Set up secure memory ranges for SC7280
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 1 Dec 2023 09:33:18 +0000 (10:33 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 12 Dec 2023 07:54:54 +0000 (08:54 +0100)
commitc2a8653c197d67f8ad563f5417f2e9bcaad913f3
tree915afb79f7ebe7a9210e83542ab86c3e76211720
parentefa28efd9cba015f8c3d88123527c3c3cfcd13d0
media: venus: core: Set up secure memory ranges for SC7280

Not all SC7280 devices ship with ChromeOS firmware. Other devices need
PAS for image authentication. That requires the predefined virtual
address ranges to be passed via scm calls. Define them to enable Venus
on non-CrOS SC7280 devices.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/qcom/venus/core.c