[PATCH] drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

Grodzovsky, Andrey Andrey.Grodzovsky at amd.com
Tue Mar 12 17:48:02 UTC 2019


They are not the same, but the guilty job belongs to only one {entity, scheduler} pair and so we mark as guilty only for that particular entity in the context of that scheduler only once.

Andrey

________________________________________
From: Eric Anholt <eric at anholt.net>
Sent: 12 March 2019 13:33:16
To: Grodzovsky, Andrey; dri-devel at lists.freedesktop.org; amd-gfx at lists.freedesktop.org; tomeu at tomeuvizoso.net
Cc: Grodzovsky, Andrey
Subject: Re: [PATCH] drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

Andrey Grodzovsky <andrey.grodzovsky at amd.com> writes:

> Also stop calling drm_sched_increase_karma multiple times.

Each v3d->queue[q].sched was initialized with a separate
drm_sched_init().  I wouldn't have thought they were all the "same
sched".


More information about the amd-gfx mailing list