]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/vcn: fix an error msg on vcn 3.0
authortiancyin <tianci.yin@amd.com>
Sun, 27 Mar 2022 11:07:13 +0000 (19:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 15:25:22 +0000 (11:25 -0400)
commitcfe6f1e1958de7fdb173dafb56936d8d6759e535
tree74bec35ae99c348efe6bc422ce74b41d2f559d84
parentb8888e5d04af00ac594fd92c0ac603d515de3c77
drm/amd/vcn: fix an error msg on vcn 3.0

Some video card has more than one vcn instance, passing 0 to
vcn_v3_0_pause_dpg_mode is incorrect.

Error msg:
Register(1) [mmUVD_POWER_STATUS] failed to reach value
0x00000001 != 0x00000002

Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: tiancyin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c