summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-08-05 19:11:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 23:51:03 +0300
commitddf94d33d6434199be08f8965f63d408e2787539 (patch)
tree81d11800319843a66ea1764ee5afe00ea571ec61 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parent4cef92670bc908aaa48771fc9c72f4bcfb7d6a35 (diff)
downloadlinux-ddf94d33d6434199be08f8965f63d408e2787539.tar.xz
drm/amdgpu: remove unused parent entity
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
index 08a9292729dc..e04364cdcc9e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
@@ -48,7 +48,7 @@ int amdgpu_ctx_init(struct amdgpu_device *adev, bool kernel,
rq = &adev->rings[i]->scheduler->sched_rq;
r = amd_context_entity_init(adev->rings[i]->scheduler,
&ctx->rings[i].c_entity,
- NULL, rq, amdgpu_sched_jobs);
+ rq, amdgpu_sched_jobs);
if (r)
break;
}