drm/amdgpu: add timeline support in amdgpu CS v3
authorChunming Zhou <david1.zhou@amd.com>
Mon, 1 Apr 2019 09:51:00 +0000 (17:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Apr 2019 16:27:57 +0000 (11:27 -0500)
commit2624dd154bcc53ac2de16ecae9746ba867b6ca70
treea2cb98cee7e9c59e318dfcd4297fc128e23deefb
parentecc4946f11a07884f230450a6d5a92337bc21375
drm/amdgpu: add timeline support in amdgpu CS v3

syncobj wait/signal operation is appending in command submission.
v2: separate to two kinds in/out_deps functions
v3: fix checking for timeline syncobj

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Cc: Tobias Hector <Tobias.Hector@amd.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
include/uapi/drm/amdgpu_drm.h