Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: drop those unrealistic thermal_type checks

As it's impossible the thermal sensor of KV is one of them.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Evan Quan and committed by
Alex Deucher
bcf19fdd 1a408c71

-10
-10
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
··· 1260 1260 static bool kv_is_internal_thermal_sensor(enum amdgpu_int_thermal_type sensor) 1261 1261 { 1262 1262 switch (sensor) { 1263 - case THERMAL_TYPE_RV6XX: 1264 - case THERMAL_TYPE_RV770: 1265 - case THERMAL_TYPE_EVERGREEN: 1266 - case THERMAL_TYPE_SUMO: 1267 - case THERMAL_TYPE_NI: 1268 - case THERMAL_TYPE_SI: 1269 - case THERMAL_TYPE_CI: 1270 1263 case THERMAL_TYPE_KV: 1271 1264 return true; 1272 - case THERMAL_TYPE_ADT7473_WITH_INTERNAL: 1273 - case THERMAL_TYPE_EMC2103_WITH_INTERNAL: 1274 - return false; /* need special handling */ 1275 1265 case THERMAL_TYPE_NONE: 1276 1266 case THERMAL_TYPE_EXTERNAL: 1277 1267 case THERMAL_TYPE_EXTERNAL_GPIO: