[PATCH] drm/amdgpu: update dec ring test for VCN 3.0

Zhang, Boyuan Boyuan.Zhang at amd.com
Wed Jul 22 21:50:17 UTC 2020


[AMD Official Use Only - Internal Distribution Only]


To enable SW ring for VCN 3.0



Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com<mailto:boyuan.zhang at amd.com>>

---

 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c

index ddc1c43e09a8..8adebb3b2a3f 100644

--- a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c

+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c

@@ -1372,7 +1372,7 @@ static const struct amdgpu_ring_funcs vcn_v3_0_dec_ring_vm_funcs = {

  .emit_ib = vcn_v2_0_dec_ring_emit_ib,

  .emit_fence = vcn_v2_0_dec_ring_emit_fence,

  .emit_vm_flush = vcn_v2_0_dec_ring_emit_vm_flush,

- .test_ring = amdgpu_vcn_dec_ring_test_ring,

+ .test_ring = vcn_v2_0_dec_ring_test_ring,

  .test_ib = amdgpu_vcn_dec_ring_test_ib,

  .insert_nop = vcn_v2_0_dec_ring_insert_nop,

  .insert_start = vcn_v2_0_dec_ring_insert_start,

--

2.17.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200722/bc9e6df7/attachment.htm>


More information about the amd-gfx mailing list