projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595a9cd
)
drm/amdgpu: put old hw fence of job if gpu reset
author
Chunming Zhou
<David1.Zhou@amd.com>
Thu, 30 Jun 2016 09:30:42 +0000
(17:30 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:06:12 +0000
(15:06 -0400)
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
index 327f4df55c86efc36f561fc52c3cc85f26966a64..0b550255401842bfb35269aaa942de5ef71c2f49 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
@@
-178,6
+178,8
@@
static struct fence *amdgpu_job_run(struct amd_sched_job *sched_job)
}
err:
+ /* if gpu reset, hw fence will be replaced here */
+ fence_put(job->fence);
job->fence = fence;
return fence;
}