Skip to content

Commit ac71700

Browse files
Yiqing Yaoalexdeucher
authored andcommitted
drm/amdgpu: Enable vclk dclk node for gc11.0.3
These sysfs nodes are tested supported, so enable them. Signed-off-by: Yiqing Yao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 5048fa1 commit ac71700

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/gpu/drm/amd/pm/amdgpu_pm.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,14 +2007,16 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
20072007
gc_ver == IP_VERSION(10, 3, 0) ||
20082008
gc_ver == IP_VERSION(10, 1, 2) ||
20092009
gc_ver == IP_VERSION(11, 0, 0) ||
2010-
gc_ver == IP_VERSION(11, 0, 2)))
2010+
gc_ver == IP_VERSION(11, 0, 2) ||
2011+
gc_ver == IP_VERSION(11, 0, 3)))
20112012
*states = ATTR_STATE_UNSUPPORTED;
20122013
} else if (DEVICE_ATTR_IS(pp_dpm_dclk)) {
20132014
if (!(gc_ver == IP_VERSION(10, 3, 1) ||
20142015
gc_ver == IP_VERSION(10, 3, 0) ||
20152016
gc_ver == IP_VERSION(10, 1, 2) ||
20162017
gc_ver == IP_VERSION(11, 0, 0) ||
2017-
gc_ver == IP_VERSION(11, 0, 2)))
2018+
gc_ver == IP_VERSION(11, 0, 2) ||
2019+
gc_ver == IP_VERSION(11, 0, 3)))
20182020
*states = ATTR_STATE_UNSUPPORTED;
20192021
} else if (DEVICE_ATTR_IS(pp_power_profile_mode)) {
20202022
if (amdgpu_dpm_get_power_profile_mode(adev, NULL) == -EOPNOTSUPP)

0 commit comments

Comments
 (0)