mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
drm/amdgpu: add priv data to sched
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
84f76ea6b0
commit
f38fdfddfa
@@ -112,11 +112,12 @@ struct amd_gpu_scheduler {
|
||||
wait_queue_head_t wait_queue;
|
||||
uint32_t hw_submission_limit;
|
||||
char name[20];
|
||||
void *priv;
|
||||
};
|
||||
|
||||
struct amd_gpu_scheduler *
|
||||
amd_sched_create(struct amd_sched_backend_ops *ops,
|
||||
uint32_t ring, uint32_t hw_submission);
|
||||
uint32_t ring, uint32_t hw_submission, void *priv);
|
||||
int amd_sched_destroy(struct amd_gpu_scheduler *sched);
|
||||
|
||||
int amd_sched_entity_init(struct amd_gpu_scheduler *sched,
|
||||
|
||||
Reference in New Issue
Block a user