drm/amdgpu: fix no-vmid job
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 21 Apr 2017 09:58:42 +0000 (17:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:55 +0000 (17:32 -0400)
commit6c98d31ee83ddd351e89d5e2002e678fdaf9d2af
tree3e8f95322e2c3e6b45a74c96cf44179ca19bb139
parent23d2e5049c080abda50810d21c8be20b5d65d191
drm/amdgpu: fix no-vmid job

[  132.036658] amdgpu 0000:22:00.0: VM IB without ID
[  132.036709] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22)
[  132.036755] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!

root cause is fence is signaled during sync transfer.

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_job.c