drm/amdgpu: use only one reservation object for each VM v2
authorChristian König <christian.koenig@amd.com>
Fri, 4 Sep 2015 08:47:56 +0000 (10:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Sep 2015 21:23:35 +0000 (17:23 -0400)
commitbf60efd353f68e5dec1a177b5cbe4da07c819569
tree03911fc3289220f4003b9778a62a4793e26f076f
parenta5b750583eb4af69da1e659c7684b6d370b2ae97
drm/amdgpu: use only one reservation object for each VM v2

Reduces the locking and fencing overhead.

v2: add comment why we need the duplicates list in the GEM op.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c