linux/drivers/gpu/drm/amd
Monk Liu c5637837ba drm/amdgpu: keep vm in job instead of ib (v2)
ib.vm is a legacy way to get vm, after scheduler
implemented vm should be get from job, and all ibs
from one job share the same vm, no need to keep ib.vm
just move vm field to job.

this patch as well add job as paramter to ib_schedule
so it can get vm from job->vm.

v2: agd: sqaush in:
drm/amdgpu: check if ring emit_vm_flush exists in vm flush

No vm flush on engines that don't support VM.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=95195

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-11 12:31:16 -04:00
..
acp drm/amd: make a type-safe cgs_device struct. (v2) 2016-05-04 20:20:28 -04:00
amdgpu drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdkfd amdkfd: Trim unnescessary intermediate err var in kfd_chardev.c 2016-05-01 00:06:29 +10:00
include drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
powerplay drm/amdgpu: fix build on aarch64. 2016-05-09 10:30:42 +10:00
scheduler drm/amd/scheduler: Mark amdgpu_sched_ops const 2016-05-04 20:20:05 -04:00