Re: [PATCH 16/16] drm/msm/adreno: Expose a PARAM to check AQE support

Konrad Dybcio
2026-03-24T10:19:38Z

On 3/23/26 9:12 PM, 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@oss.qualcomm.com>
> ---

[...]

> + case MSM_PARAM_AQE:
> + *value = (adreno_gpu->funcs->aqe_is_enabled &&
> + adreno_gpu->funcs->aqe_is_enabled(adreno_gpu)) ? 1 : 0;

&& already makes this a boolean

Konrad