]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: wait on page directory changes. v2
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 14 Aug 2015 18:08:40 +0000 (20:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:51:23 +0000 (16:51 -0400)
commite5438ff0374e32743a304ac64d5d422c021857a4
tree3459b59ade856c84a50539a894edc237bf7636da
parent0988c08030230970e0c238690dfcbc56bea3e828
drm/amdgpu: wait on page directory changes. v2

Pagetables can be moved and therefore the page directory update can be necessary
for the current cs even if none of the the bo's are moved. In that scenario
there is no fence between the sdma0 and gfx ring, so we add one.

v2 (chk): rebased

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c