linux/drivers/gpu/drm/amd/scheduler
Andrey Grodzovsky d1f6dc1a9a drm/amdgpu: Avoid accessing job->entity after the job is scheduled.
Bug: amdgpu_job_free_cb was accessing s_job->s_entity when the allocated
amdgpu_ctx (and the entity inside it) were already deallocated from
amdgpu_cs_parser_fini.

Fix: Save job's priority on it's creation instead of accessing it from
s_entity later on.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-12-04 16:33:08 -05:00
..
gpu_sched_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpu_scheduler.c drm/amdgpu: Avoid accessing job->entity after the job is scheduled. 2017-12-04 16:33:08 -05:00
gpu_scheduler.h drm/amdgpu: Avoid accessing job->entity after the job is scheduled. 2017-12-04 16:33:08 -05:00
sched_fence.c drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00