diff options
author | Junwei Zhang <Jerry.Zhang@amd.com> | 2015-09-09 09:05:55 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-09-23 17:23:36 -0400 |
commit | 4c7eb91cae88fd2aa101750d6825b4176f85ffb2 (patch) | |
tree | 852e67d3ae0e4bad92b8405ea9bf46fae1ac0d47 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | bf60efd353f68e5dec1a177b5cbe4da07c819569 (diff) | |
download | lwn-4c7eb91cae88fd2aa101750d6825b4176f85ffb2.tar.gz lwn-4c7eb91cae88fd2aa101750d6825b4176f85ffb2.zip |
drm/amdgpu: refine the job naming for amdgpu_job and amdgpu_sched_job
Use consistent naming across functions.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: David Zhou <david1.zhou@amd.com>
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index c90caf810e4a..74f2038ac747 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c @@ -342,10 +342,10 @@ void amdgpu_vce_free_handles(struct amdgpu_device *adev, struct drm_file *filp) } static int amdgpu_vce_free_job( - struct amdgpu_job *sched_job) + struct amdgpu_job *job) { - amdgpu_ib_free(sched_job->adev, sched_job->ibs); - kfree(sched_job->ibs); + amdgpu_ib_free(job->adev, job->ibs); + kfree(job->ibs); return 0; } |