]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn: use amdgpu_ring_test_helper
authorLeo Liu <leo.liu@amd.com>
Tue, 1 Oct 2019 22:08:46 +0000 (18:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 13:52:53 +0000 (08:52 -0500)
commit27460b2933f48ef92fef1104a3c0d4954618fdc1
treeecbe0004b59a0bfab7d1d25121a94cc35101f58b
parent62f58a17688db27357e1879b4219ef98be094e68
drm/amdgpu/vcn: use amdgpu_ring_test_helper

Instead of amdgpu_ring_test_ring, so the helper function determines
whether the ring is ready

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>
Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Cc: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c