aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2015-09-07 16:16:49 +0000
committerAlex Deucher <[email protected]>2015-09-23 21:23:37 +0000
commit9b398fa5c24eb05fc60fafd8543cc03e9170f054 (patch)
tree35491b4ccd5d981c9e3b2f6d62f8560b9ccebfee /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: cleanup entity init (diff)
downloadkernel-9b398fa5c24eb05fc60fafd8543cc03e9170f054.tar.gz
kernel-9b398fa5c24eb05fc60fafd8543cc03e9170f054.zip
drm/amdgpu: rename fence->scheduler to sched v2
Just to be consistent with the other members. v2: rename the ring member as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> (v1) Reviewed-by: Chunming Zhou<[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index 546968a83b08..6f39b2d2106d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -848,7 +848,7 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
job = kzalloc(sizeof(struct amdgpu_job), GFP_KERNEL);
if (!job)
return -ENOMEM;
- job->base.sched = ring->scheduler;
+ job->base.sched = ring->sched;
job->base.s_entity = &parser->ctx->rings[ring->idx].entity;
job->adev = parser->adev;
job->ibs = parser->ibs;