drm/amdgpu: link all gtt when binding them V2
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 30 Aug 2016 08:13:10 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Aug 2016 19:21:12 +0000 (15:21 -0400)
commit5c1354bd30c118326236e13cfdc49db03d2b5855
treecbcbcabc509367914f3224167c6aa2fa12e5b487
parent78fbb6859b739f7f67c820ab8c9e7a25add977b5
drm/amdgpu: link all gtt when binding them V2

V2:
spin lock instead of mutex for gtt list

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c