drm/syncobj: add new drm_syncobj_add_point interface v4
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Mon, 1 Apr 2019 09:50:56 +0000 (17:50 +0800)
committerChristian König <christian.koenig@amd.com>
Mon, 1 Apr 2019 10:05:53 +0000 (12:05 +0200)
commit44f8a1396e83f1030eaf18591b3f106235118a64
tree84f28ed5b50ee90db07a8b9f30885374a25ebe59
parent7bf60c52e093d9309752dbc3569fa213a80fb815
drm/syncobj: add new drm_syncobj_add_point interface v4

Use the dma_fence_chain object to create a timeline of fence objects
instead of just replacing the existing fence.

v2: rebase and cleanup
v3: fix garbage collection parameters
v4: add unorder point check, print a warn calltrace

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/295780/?series=58813&rev=1
drivers/gpu/drm/drm_syncobj.c
include/drm/drm_syncobj.h