Skip to content
Commit f3647c36 authored by tiancyin's avatar tiancyin Committed by Greg Kroah-Hartman
Browse files

drm/amd/vcn: fix an error msg on vcn 3.0

[ Upstream commit 425d7a87

 ]

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: default avatarJames Zhu <James.Zhu@amd.com>
Signed-off-by: default avatartiancyin <tianci.yin@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a976456c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment