diff options
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/amdgpu_pm.c | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 236657eece47..bf6d63673b5a 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -1991,6 +1991,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_  		case IP_VERSION(9, 4, 2):  		case IP_VERSION(10, 3, 0):  		case IP_VERSION(11, 0, 0): +		case IP_VERSION(11, 0, 1): +		case IP_VERSION(11, 0, 2):  			*states = ATTR_STATE_SUPPORTED;  			break;  		default: @@ -2007,14 +2009,16 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_  		      gc_ver == IP_VERSION(10, 3, 0) ||  		      gc_ver == IP_VERSION(10, 1, 2) ||  		      gc_ver == IP_VERSION(11, 0, 0) || -		      gc_ver == IP_VERSION(11, 0, 2))) +		      gc_ver == IP_VERSION(11, 0, 2) || +		      gc_ver == IP_VERSION(11, 0, 3)))  			*states = ATTR_STATE_UNSUPPORTED;  	} else if (DEVICE_ATTR_IS(pp_dpm_dclk)) {  		if (!(gc_ver == IP_VERSION(10, 3, 1) ||  		      gc_ver == IP_VERSION(10, 3, 0) ||  		      gc_ver == IP_VERSION(10, 1, 2) ||  		      gc_ver == IP_VERSION(11, 0, 0) || -		      gc_ver == IP_VERSION(11, 0, 2))) +		      gc_ver == IP_VERSION(11, 0, 2) || +		      gc_ver == IP_VERSION(11, 0, 3)))  			*states = ATTR_STATE_UNSUPPORTED;  	} else if (DEVICE_ATTR_IS(pp_power_profile_mode)) {  		if (amdgpu_dpm_get_power_profile_mode(adev, NULL) == -EOPNOTSUPP) @@ -3059,7 +3063,7 @@ static ssize_t amdgpu_hwmon_show_mclk_label(struct device *dev,   *   * hwmon interfaces for GPU power:   * - * - power1_average: average power used by the GPU in microWatts + * - power1_average: average power used by the SoC in microWatts.  On APUs this includes the CPU.   *   * - power1_cap_min: minimum cap supported in microWatts   *  |