drm/amd/powerplay/vega20: tell the correct gfx voltage V2
Export the correct gfx voltage by hwmon interface. V2: update the register naming for consistency Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -175,4 +175,7 @@
|
||||
#define mmSMUSVI0_PLANE0_CURRENTVID_BASE_IDX 0
|
||||
#define mmSMUSVI0_PLANE0_CURRENTVID 0x0013
|
||||
|
||||
#define mmSMUSVI0_TEL_PLANE0_BASE_IDX 0
|
||||
#define mmSMUSVI0_TEL_PLANE0 0x0004
|
||||
|
||||
#endif
|
||||
|
@@ -258,4 +258,7 @@
|
||||
#define SMUSVI0_PLANE0_CURRENTVID__CURRENT_SVI0_PLANE0_VID__SHIFT 0x18
|
||||
#define SMUSVI0_PLANE0_CURRENTVID__CURRENT_SVI0_PLANE0_VID_MASK 0xFF000000L
|
||||
|
||||
#define SMUSVI0_TEL_PLANE0__SVI0_PLANE0_VDDCOR__SHIFT 0x10
|
||||
#define SMUSVI0_TEL_PLANE0__SVI0_PLANE0_VDDCOR_MASK 0x01FF0000L
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user