drm/sched: Use parent fence instead of finished
authorArvind Yadav <Arvind.Yadav@amd.com>
Wed, 14 Sep 2022 16:43:20 +0000 (22:13 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 16 Sep 2022 13:53:25 +0000 (15:53 +0200)
commite4dc45b1848bc6bcac31eb1b4ccdd7f6718b3c86
tree8fde9e3573fcf4a232613bf1fb0970a86e4fedf1
parentb96fb1e724ae6839d5bffcf42dd3503db7cc7df5
drm/sched: Use parent fence instead of finished

Using the parent fence instead of the finished fence
to get the job status. This change is to avoid GPU
scheduler timeout error which can cause GPU reset.

Signed-off-by: Arvind Yadav <Arvind.Yadav@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220914164321.2156-6-Arvind.Yadav@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/scheduler/sched_main.c