]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdgpu/vcn: Enable VCN2.5 encoding
authorJames Zhu <James.Zhu@amd.com>
Tue, 22 Oct 2019 14:40:45 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:10 +0000 (16:50 -0400)
After VCN2.5 firmware (Version ENC: 1.1  Revision: 11),
VCN2.5 encoding can work properly.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c

index b3623ed3dc42f9f446adb3ce4ef391ce6a9003c7..03083e5f731aa23ac0beb682949567a1373c636c 100644 (file)
@@ -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;