]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn: fix vcn ring test failure in igt reload test
authorTianci Yin <tianci.yin@amd.com>
Tue, 15 Mar 2022 01:58:09 +0000 (09:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 19:01:02 +0000 (15:01 -0400)
commit495a7a43d63a58518c279c6b70becaf2d27a82e8
tree89a6b4669572364c589b3afdedacf3db106d0a58
parente852cb0459fcd1eed0b1e94ce3f21665c8925b99
drm/amdgpu/vcn: fix vcn ring test failure in igt reload test

[why]
On Renoir, vcn ring test failed on the second time insmod in the reload
test. After investigation, it proves that vcn only can disable dpg under
dpg unpause mode (dpg unpause mode is default for dec only, dpg pause
mode is for dec/enc).

[how]
unpause dpg in dpg stopping procedure.

Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Tianci Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c