]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix dependency issue
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 9 May 2017 05:39:40 +0000 (13:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 May 2017 17:23:53 +0000 (13:23 -0400)
commit31efeb1fe78f32a3eee22abd41b1be2556546ec3
tree66ca957c94c8091b9bc11385046adfa26f4f18f8
parent70cfe8efcd69a64122999dd2c6423805879ed268
drm/amdgpu: fix dependency issue

The problem is that executing the jobs in the right order doesn't give you the right result
because consecutive jobs executed on the same engine are pipelined.
In other words job B does it buffer read before job A has written it's result.

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_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h