]> 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)
commit38c33ae0ce7dbea08e2e3af72399c92b97d12dea
tree74bec35ae99c348efe6bc422ce74b41d2f559d84
parent7a1b2e39aadc262e662d1b1dc70d39c394ee004d
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