From: Leo Liu Date: Tue, 1 Oct 2019 22:12:45 +0000 (-0400) Subject: drm/amdgpu: add code comment in vcn_v2_5_hw_init X-Git-Tag: v5.10.7~3692^2~37^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0312d0dcaf2f00a8a0ea0bc2a24c6084fd69ed2;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu: add code comment in vcn_v2_5_hw_init Add a comment to VCN 2.5 encode ring Signed-off-by: Leo Liu Reviewed-by: Christian König Reviewed-by: James Zhu Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Cc: Gustavo A. R. Silva 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 cc19444..0d5c95d7 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c @@ -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);