]> 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)
commit6d206fed29bf5c00bc78e730d6d79023055ba9d1
tree66ca957c94c8091b9bc11385046adfa26f4f18f8
parenta300971ef4a5670d65c52f7d4822194635eee59d
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