Re: [PATCH v2] drm/sched: Use struct for drm_sched_init() params
From: Christian Gmeiner
Date: Wed Jan 29 2025 - 02:59:07 EST
>
> > > int etnaviv_sched_init(struct etnaviv_gpu *gpu)
> > > {
> > > - int ret;
> > > + const struct drm_sched_init_args args = {
> >
> > Why not declare it as static const struct drm_sched_init_args args = { ?
>
> Because some bits in there are not static, in this particular case,
> gpu->dev is not static for instance.
>
Ah.. yes - thanks.
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy