diff options
| author | Chunming Zhou <[email protected]> | 2015-08-18 07:16:40 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-08-20 21:00:35 +0000 |
| commit | bb977d3711ed1de1601b463e7fd5a43d82a2b077 (patch) | |
| tree | 25ce4d1396258790d27ca111f246df39c49e1027 /drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | |
| parent | drm/amdgpu: bump the DRM version for new allowed mem-mapped registers (diff) | |
| download | kernel-bb977d3711ed1de1601b463e7fd5a43d82a2b077.tar.gz kernel-bb977d3711ed1de1601b463e7fd5a43d82a2b077.zip | |
drm/amdgpu: abstract amdgpu_job for scheduler
Signed-off-by: Chunming Zhou <[email protected]>
Reviewed-by: Christian K?nig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/scheduler/gpu_scheduler.h')
| -rw-r--r-- | drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h index ceb5918bfbeb..25e38d030157 100644 --- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h +++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h @@ -81,7 +81,6 @@ struct amd_sched_job { struct fence_cb cb; struct amd_gpu_scheduler *sched; struct amd_sched_entity *s_entity; - void *data; struct amd_sched_fence *s_fence; }; @@ -140,10 +139,7 @@ struct amd_gpu_scheduler *amd_sched_create(void *device, uint32_t hw_submission); int amd_sched_destroy(struct amd_gpu_scheduler *sched); -int amd_sched_push_job(struct amd_gpu_scheduler *sched, - struct amd_sched_entity *c_entity, - void *data, - struct amd_sched_fence **fence); +int amd_sched_push_job(struct amd_sched_job *sched_job); int amd_sched_entity_init(struct amd_gpu_scheduler *sched, struct amd_sched_entity *entity, |
