forked from Minki/linux
drm/amdgpu: add vcn jpeg sw finish
Add software finish for vcn jpeg ring. v2: remove unnecessary scheduler entity. Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b7fe681e35
commit
0c5e4b3e1e
@ -119,6 +119,8 @@ int amdgpu_vcn_sw_fini(struct amdgpu_device *adev)
|
|||||||
for (i = 0; i < adev->vcn.num_enc_rings; ++i)
|
for (i = 0; i < adev->vcn.num_enc_rings; ++i)
|
||||||
amdgpu_ring_fini(&adev->vcn.ring_enc[i]);
|
amdgpu_ring_fini(&adev->vcn.ring_enc[i]);
|
||||||
|
|
||||||
|
amdgpu_ring_fini(&adev->vcn.ring_jpeg);
|
||||||
|
|
||||||
release_firmware(adev->vcn.fw);
|
release_firmware(adev->vcn.fw);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user