aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <[email protected]>2017-10-19 18:29:46 +0000
committerAlex Deucher <[email protected]>2017-12-04 21:33:08 +0000
commitd1f6dc1a9a106a73510181cfad9b4a7a0b140990 (patch)
treed596b7bcfbac180a1d478dd3bebba45dc56ea404 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentMerge tag 'drm-intel-next-2017-11-17-1' of git://anongit.freedesktop.org/drm/... (diff)
downloadkernel-d1f6dc1a9a106a73510181cfad9b4a7a0b140990.tar.gz
kernel-d1f6dc1a9a106a73510181cfad9b4a7a0b140990.zip
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 <[email protected]> Reviewed-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions