]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc13668fb9c423803af5ee7cf36516aeb3b4427b
tree03911fc3289220f4003b9778a62a4793e26f076f
parent2b161313edbf7a93fafd1aa1cac08d2c34089ac8
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