Re: [PATCH 12/16] drm/msm/a6xx: Add SKU detection support for X2-85
From: Konrad Dybcio
Date: Tue Mar 24 2026 - 06:20:50 EST
On 3/23/26 9:12 PM, Akhil P Oommen wrote:
> Adreno X2-85 series present in Glymur chipset supports a new mechanism
> for SKU detection. A new CX_MISC register exposes the combined (or
> final) speedbin value from both HW fuse register and the Soft Fuse
> register.
>
> Implement this new SKU detection along with a new quirk to identify the
> GPUs that has SOFT SKU support. Also, enable this quirk for Adreno X2-85
> and add its SKU table to the catalog.
>
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---
[...]
> + /* Set the speedbin value that is passed to userspace */
> + if (adreno_read_speedbin(&pdev->dev, &speedbin) || !speedbin)
> + speedbin = 0xffff;
> + adreno_gpu->speedbin = (uint16_t) (0xffff & speedbin);
FWIW this is lower_16_bits()
[...]
> + if (info->quirks & ADRENO_QUIRK_SOFTFUSE) {
> + *speedbin = a6xx_llc_read(a6xx_gpu, REG_A8XX_CX_MISC_SW_FUSE_FREQ_LIMIT_STATUS);
> + *speedbin = A8XX_CX_MISC_SW_FUSE_FREQ_LIMIT_STATUS_FINALFREQLIMIT(*speedbin);
Do we need to act upon the other field here (SOFTSKUDISABLED)?
Konrad