[PATCH] drm/etnaviv: fix build error due to change in scheduler struct

Nayan Deshmukh nayan26deshmukh at gmail.com
Thu Sep 27 07:12:27 UTC 2018


On Thu, Sep 27, 2018, 9:03 AM Lucas Stach <l.stach at pengutronix.de> wrote:

> Am Donnerstag, den 27.09.2018, 08:27 +0200 schrieb Nayan Deshmukh:
> > The work_tdr field was moved from drm_sched_job to drm_gpu_scheduler
> > as part of a previous patch.
> >
> > Fixes: 4f07d88d8534 drm/scheduler: remove timeout work_struct from
> drm_sched_job
> > Signed-off-by: Nayan Deshmukh <nayan26deshmukh at gmail.com>
>
> Thanks, I guess whoever picked up the patch that gets fixed by this
> will pick this into the same tree. Did you also check VC5? I think they
> gained a similar timeout extension mechanism.
>
Thanks. I will have a look at VC5.

Nayan

>
> Acked-by: Lucas Stach <l.stach at pengutronix.de>
>
> > ---
> >  drivers/gpu/drm/etnaviv/etnaviv_sched.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/etnaviv/etnaviv_sched.c
> b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
> > index 69e9b431bf1f..e7c3ed6c9a2e 100644
> > --- a/drivers/gpu/drm/etnaviv/etnaviv_sched.c
> > +++ b/drivers/gpu/drm/etnaviv/etnaviv_sched.c
> > @@ -105,7 +105,7 @@ static void etnaviv_sched_timedout_job(struct
> drm_sched_job *sched_job)
> >       change = dma_addr - gpu->hangcheck_dma_addr;
> >       if (change < 0 || change > 16) {
> >               gpu->hangcheck_dma_addr = dma_addr;
> > -             schedule_delayed_work(&sched_job->work_tdr,
> > +             schedule_delayed_work(&sched_job->sched->work_tdr,
> >                                     sched_job->sched->timeout);
> >               return;
> >       }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180927/2ff1cfc7/attachment.html>


More information about the dri-devel mailing list