diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2018-06-05 12:43:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-05 17:38:45 -0400 |
commit | 180fc134d712a93a2bbc3d11ed657b5208e6f90f (patch) | |
tree | dc13aba9cf9d8baa5ed252a26d4a8cde6c0abc98 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | f3efec54ed6ac05ba63be1bd93bd741d41b6eb37 (diff) |
drm/scheduler: Rename cleanup functions v2.
Everything in the flush code path (i.e. waiting for SW queue
to become empty) names with *_flush()
and everything in the release code path names *_fini()
This patch also effect the amdgpu and etnaviv drivers which
use those functions.
v2:
Also pplay the change to vd3.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 23d960ec1cf2..b0dcdfd85f5b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |||
@@ -222,7 +222,7 @@ int amdgpu_vce_sw_fini(struct amdgpu_device *adev) | |||
222 | if (adev->vce.vcpu_bo == NULL) | 222 | if (adev->vce.vcpu_bo == NULL) |
223 | return 0; | 223 | return 0; |
224 | 224 | ||
225 | drm_sched_entity_fini(&adev->vce.ring[0].sched, &adev->vce.entity); | 225 | drm_sched_entity_destroy(&adev->vce.ring[0].sched, &adev->vce.entity); |
226 | 226 | ||
227 | amdgpu_bo_free_kernel(&adev->vce.vcpu_bo, &adev->vce.gpu_addr, | 227 | amdgpu_bo_free_kernel(&adev->vce.vcpu_bo, &adev->vce.gpu_addr, |
228 | (void **)&adev->vce.cpu_addr); | 228 | (void **)&adev->vce.cpu_addr); |