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>
Mon, 28 Mar 2022 16:54:39 +0000 (12:54 -0400)
commit425d7a87e54ee358f580eaf10cf28dc95f7121c1
tree48686359430ac97d88f8e29f4d160df8939d045f
parent9f07550b3c8a79cbb996a368f699c9eb619d8322
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>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c