drm/scheduler: Change scheduled fence track v2
authorRoy Sun <Roy.Sun@amd.com>
Mon, 26 Apr 2021 06:27:00 +0000 (14:27 +0800)
committerChristian König <christian.koenig@amd.com>
Wed, 5 May 2021 07:26:36 +0000 (09:26 +0200)
commit1774baa64f9395fa884ea9ed494bcb043f3b83f5
treed22692fb9a2844bca7a7ce157281660bc0c46755
parent8f8bb68ebd60fefa6cf5ba56c45d5f707f1a39d4
drm/scheduler: Change scheduled fence track v2

Update the timestamp of scheduled fence on HW
completion of the previous fences

This allow more accurate tracking of the fence
execution in HW

v2 (chk): drop the flag check and improve the comment

Signed-off-by: David M Nieto <david.nieto@amd.com>
Signed-off-by: Roy Sun <Roy.Sun@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210426062701.39732-1-Roy.Sun@amd.com
drivers/gpu/drm/scheduler/sched_main.c