From: James Zhu Date: Tue, 22 Oct 2019 14:40:45 +0000 (-0400) Subject: drm/amdgpu/vcn: Enable VCN2.5 encoding X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8047266443ce86bf0abef2db6be78f7ce550dd7a;p=linux.git drm/amdgpu/vcn: Enable VCN2.5 encoding After VCN2.5 firmware (Version ENC: 1.1 Revision: 11), VCN2.5 encoding can work properly. Signed-off-by: James Zhu Reviewed-by: Leo Liu Reviewed-by: Christian König Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c index b3623ed3dc42f..03083e5f731aa 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c @@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle) for (i = 0; i < adev->vcn.num_enc_rings; ++i) { ring = &adev->vcn.inst[j].ring_enc[i]; - /* disable encode rings till the robustness of the FW */ - ring->sched.ready = false; - continue; r = amdgpu_ring_test_helper(ring); if (r) goto done;