]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add user fence context map v2
authorChristian König <christian.koenig@amd.com>
Tue, 7 Jul 2015 15:24:49 +0000 (17:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:14 +0000 (16:50 -0400)
commit122f8b32dc4ba6ece22525de12dcce7cce6d9a3f
tree91595b4cd4064a7867bbdd32cb37fc090c7ec37d
parenta39e232fc85ccae38ccdf77f3a401156fc1ef781
drm/amdgpu: add user fence context map v2

This is a prerequisite for the GPU scheduler to make the order
of submission independent from the order of execution.

v2: properly implement the locking

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c