Re: [PATCH v2 2/3] media: qcom: Use PAS API for video memory protection
From: Konrad Dybcio
Date: Tue Oct 27 2026 - 12:33:21 EST
On 10/27/26 1:39 PM, Sumit Garg wrote:
> From: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
>
> Replace the direct qcom_scm_mem_protect_video_var() calls in venus and
> iris with qcom_pas_mem_protect_video_var(), so that the call is only
> issued when the active PAS backend needs it. This allows the video
> codecs to bring up firmware with the OP-TEE PAS backend as well, with
> no functional change for the SCM backend.
>
> As the video drivers no longer call into SCM directly, also drop their
> Kconfig selection of QCOM_SCM.
>
> Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad