linux/drivers/gpu/drm/amd
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
..
acp
amdgpu drm/amdgpu: Avoid accessing job->entity after the job is scheduled. 2017-12-04 16:33:08 -05:00
amdkfd Merge tag 'drm-amdkfd-fixes-2017-11-26' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes 2017-12-01 09:14:46 +10:00
display Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
include amdgpu DC display code for Vega. 2017-11-17 14:34:42 -08:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay fixes/cleanups for rc1, non-desktop flags for VR 2017-11-23 21:04:56 -10:00
scheduler drm/amdgpu: Avoid accessing job->entity after the job is scheduled. 2017-12-04 16:33:08 -05:00