]> 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)
commit14221fb0f3379a89500dab1fb33e8a365766e025
tree3459b59ade856c84a50539a894edc237bf7636da
parent8d69f7548e0056996cbbae4de1837e3214382be6
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