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)
commit21c16bf634e62cf9673946f509b469e7f0953ecf
tree91595b4cd4064a7867bbdd32cb37fc090c7ec37d
parent91e1a5207edec9e4f888e44478a9a254186e0ba8
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