git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1763552
)
drm/amdgpu: fix null pointer by previous cleanup
author
Chunming Zhou
<david1.zhou@amd.com>
Mon, 3 Aug 2015 12:02:43 +0000
(20:02 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:55 +0000
(16:50 -0400)
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
index
23a17ec
..
0f55c05
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
@@
-79,7
+79,6
@@
static void amdgpu_sched_process_job(struct amd_gpu_scheduler *sched, void *job)
struct amdgpu_fence *fence = NULL;
struct amdgpu_ring *ring = NULL;
struct amdgpu_device *adev = NULL;
- struct amd_context_entity *c_entity = NULL;
if (!job)
return;
@@
-90,9
+89,6
@@
static void amdgpu_sched_process_job(struct amd_gpu_scheduler *sched, void *job)
ring = fence->ring;
adev = ring->adev;
- /* wake up users waiting for time stamp */
- wake_up_all(&c_entity->wait_queue);
-
schedule_work(&sched_job->job_work);
}