diff options
author | 2016-03-10 12:14:44 +0800 | |
---|---|---|
committer | 2016-05-02 15:20:07 -0400 | |
commit | b6723c8da55af5309cf06e71a5228f3c02846c5a (patch) | |
tree | 268b16b48fca9556569ce72c02b9c1a0985b3df3 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
parent | drm/amdgpu: rework TDR in scheduler (v2) (diff) | |
download | wireguard-linux-b6723c8da55af5309cf06e71a5228f3c02846c5a.tar.xz wireguard-linux-b6723c8da55af5309cf06e71a5228f3c02846c5a.zip |
drm/amdgpu: use ref to keep job alive
this is to fix fatal page fault error that occured if:
job is signaled/released after its timeout work is already
put to the global queue (in this case the cancel_delayed_work
will return false), which will lead to NX-protection error
page fault during job_timeout_func.
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions