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

From: Konrad Dybcio

Date: Tue Mar 24 2026 - 06:19:49 EST


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@xxxxxxxxxxxxxxxx>
> ---

[...]

> + 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