diff options
| author | Monk Liu <[email protected]> | 2016-03-03 11:00:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-05-02 19:17:41 +0000 |
| commit | e472d2588eef38c2f16f71d6160e58fb5948e84f (patch) | |
| tree | a2459eecb00bb9772dca675e87127706f97a3058 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu/dce11: fix vertical bars appear on monitor (diff) | |
| download | kernel-e472d2588eef38c2f16f71d6160e58fb5948e84f.tar.gz kernel-e472d2588eef38c2f16f71d6160e58fb5948e84f.zip | |
drm/amdgpu: delay job free to when it's finished (v2)
for those jobs submitted through scheduler, do not
free it immediately after scheduled, instead free it
in global workqueue by its sched fence signaling
callback function.
v2:
call uf's bo_undef after job_run()
call job's sync free after job_run()
no static inline __amdgpu_job_free() anymore, just use
kfree(job) to replace it.
Signed-off-by: Monk Liu <[email protected]>
Reviewed-by: Chunming Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
