summaryrefslogtreecommitdiffstats
path: root/kernel/relay.c
diff options
context:
space:
mode:
authorPixel Ding <Pixel.Ding@amd.com>2018-04-18 04:37:40 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:30 -0500
commitb5b4ea4d98b42f94442e5d46d5942f392ed8af56 (patch)
tree6c0b82e8aaf998a17d9925e11112dcd30d560873 /kernel/relay.c
parenta4b3996aeebbaafd2682f4db06bb5659e1653da7 (diff)
downloadlinux-stable-b5b4ea4d98b42f94442e5d46d5942f392ed8af56.tar.gz
linux-stable-b5b4ea4d98b42f94442e5d46d5942f392ed8af56.tar.bz2
linux-stable-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 <Pixel.Ding@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Monk Liu <Monk.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions