]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit197c7c30f10e6bc13631a1bc4bdb652c99b9c22f
treea2cb98cee7e9c59e318dfcd4297fc128e23deefb
parent91a7451203bda3875b58d271b4a50f13bf04bfb4
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