Re: [PATCH v2 17/17] drm/msm/adreno: Expose a PARAM to check AQE support
From: Konrad Dybcio
Date: Fri Mar 27 2026 - 07:19:40 EST
On 3/27/26 1:14 AM, Akhil P Oommen wrote:
> AQE (Applicaton Qrisc Engine) is required to support VK ray-pipeline. Two
> conditions should be met to use this HW:
> 1. AQE firmware should be loaded and programmed
> 2. Preemption support
>
> Expose a new MSM_PARAM to allow userspace to query its support.
>
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---
[...]
> + case MSM_PARAM_AQE:
> + *value = !!(adreno_gpu->funcs->aqe_is_enabled &&
> + adreno_gpu->funcs->aqe_is_enabled(adreno_gpu));
again, this is a bootlean even without the !! because of the inner
&&
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad