[PATCH v2 05/21] drm/msm/adreno: Move adreno_gpu_func to catalogue
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Wed Nov 12 02:22:44 PST 2025
On 11/10/25 5:37 PM, Akhil P Oommen wrote:
> In A6x family (which is a pretty big one), there are separate
> adreno_func definitions for each sub-generations. To streamline the
> identification of the correct struct for a gpu, move it to the
> catalogue and move the gpu_init routine to struct adreno_gpu_funcs.
>
> Signed-off-by: Akhil P Oommen <akhilpo at oss.qualcomm.com>
> ---
[...]
> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> index 44df6410bce1..9007a0e82a59 100644
> --- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> +++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
> @@ -683,7 +683,7 @@ static const struct adreno_info a6xx_gpus[] = {
Somewhere among this diff, a619_holi needs to have gmu_wrapper funcs
instead
Konrad
More information about the linux-arm-kernel
mailing list