mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 20:42:33 -04:00
drm/amdgpu: abstract amdgpu_job for scheduler
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
6055f37afd
commit
bb977d3711
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user