diff options
author | ZhenGuo Yin <zhenguo.yin@amd.com> | 2023-05-09 17:46:17 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-15 11:37:55 -0400 |
commit | 4f9b94d848696166011bead3109541ec2a523bb8 (patch) | |
tree | c4e002f9c3fe77a5fb9e1379368f73fc61d9f181 /.gitattributes | |
parent | 71eaac368dccf0619f7adc012063930e459b133e (diff) | |
download | lwn-4f9b94d848696166011bead3109541ec2a523bb8.tar.gz lwn-4f9b94d848696166011bead3109541ec2a523bb8.zip |
drm/scheduler: avoid infinite loop if entity's dependency is a scheduled error fence
[Why]
drm_sched_entity_add_dependency_cb ignores the scheduled fence and return false.
If entity's dependency is a scheduler error fence and drm_sched_stop is called
due to TDR, drm_sched_entity_pop_job will wait for the dependency infinitely.
[How]
Do not wait or ignore the scheduled error fence, add drm_sched_entity_wakeup
callback for the dependency with scheduled error fence.
Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions