]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: add code comment in vcn_v2_5_hw_init
authorLeo Liu <leo.liu@amd.com>
Tue, 1 Oct 2019 22:12:45 +0000 (18:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 13:53:08 +0000 (08:53 -0500)
Add a comment to VCN 2.5 encode ring

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c

index cc194444363fd8fa5e31dcb22f81631db793c509..0d5c95d73b636153118fca9f7a3dfb61afef9a00 100644 (file)
@@ -264,6 +264,7 @@ 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);