drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 12 Mar 2019 16:57:02 +0000 (12:57 -0400)
committerEric Anholt <eric@anholt.net>
Thu, 14 Mar 2019 16:22:58 +0000 (09:22 -0700)
commite8074f75f4449b9f9315f3a81d5d72425fba0a8c
treeb4bc259767bda7c2b4db806db16c9de90846c2d5
parenta83e47e421ec5c4c5d6cae099cd54e3ce5b2bd06
drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

Also stop calling drm_sched_increase_karma multiple times.

v2: Fix whitespace in the code we're moving (by anholt)

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1552409822-17230-1-git-send-email-andrey.grodzovsky@amd.com
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Fixes: 222b5f044159 ("drm/sched: Refactor ring mirror list handling.")
drivers/gpu/drm/v3d/v3d_sched.c