diff options
| author | Pixel Ding <[email protected]> | 2018-04-18 08:37:40 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-05-15 18:43:30 +0000 |
| commit | b5b4ea4d98b42f94442e5d46d5942f392ed8af56 (patch) | |
| tree | 6c0b82e8aaf998a17d9925e11112dcd30d560873 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/scheduler: always put last_sched fence in entity_fini (diff) | |
| download | kernel-b5b4ea4d98b42f94442e5d46d5942f392ed8af56.tar.gz kernel-b5b4ea4d98b42f94442e5d46d5942f392ed8af56.zip | |
drm/scheduler: move last_sched fence updating prior to job popping (v2)
Make sure main thread won't update last_sched fence when entity
is cleanup.
Fix a racing issue which is caused by putting last_sched fence
twice. Running vulkaninfo in tight loop can produce this issue
as seeing wild fence pointer.
v2: squash in build fix (Christian)
Signed-off-by: Pixel Ding <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
