drm/sched: Keep s_fence->parent pointer
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 18 Apr 2019 15:00:22 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2019 20:46:52 +0000 (15:46 -0500)
commit290764af7e369f0001175dc8c3cb747aa9903bb8
treeed991c279124bee867d7e9b19790815378ce8171
parent5918045c4ed492fb5813f980dcf89a90fefd0a4e
drm/sched: Keep s_fence->parent pointer

For later driver's reference to see if the fence is signaled.

v2: Move parent fence put to resubmit jobs.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1555599624-12285-4-git-send-email-andrey.grodzovsky@amd.com
drivers/gpu/drm/scheduler/sched_main.c