mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
drm/amdgpu: add amd_sched_commit
This function is to update last_emitted_v_seq and wake up the waiters. It should be called by driver in the run_job backend function Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -151,4 +151,6 @@ int amd_context_entity_init(struct amd_gpu_scheduler *sched,
|
||||
uint32_t context_id,
|
||||
uint32_t jobs);
|
||||
|
||||
void amd_sched_emit(struct amd_context_entity *c_entity, uint64_t seq);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user