Loading Documentation/thermal/nouveau_thermal +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ attributes should be available: You may also have the following attribute: * fan0_input: Speed in RPM of your fan. * fan1_input: Speed in RPM of your fan. Your fan can be driven in different modes: Loading drivers/gpu/drm/nouveau/nouveau_pm.c +3 −3 Original line number Diff line number Diff line Loading @@ -698,7 +698,7 @@ static SENSOR_DEVICE_ATTR(update_rate, S_IRUGO, NULL, 0); static ssize_t nouveau_hwmon_show_fan0_input(struct device *d, struct device_attribute *attr, nouveau_hwmon_show_fan1_input(struct device *d, struct device_attribute *attr, char *buf) { struct drm_device *dev = dev_get_drvdata(d); Loading @@ -707,7 +707,7 @@ nouveau_hwmon_show_fan0_input(struct device *d, struct device_attribute *attr, return snprintf(buf, PAGE_SIZE, "%d\n", therm->fan_sense(therm)); } static SENSOR_DEVICE_ATTR(fan0_input, S_IRUGO, nouveau_hwmon_show_fan0_input, static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, nouveau_hwmon_show_fan1_input, NULL, 0); static ssize_t Loading Loading @@ -887,7 +887,7 @@ static struct attribute *hwmon_attributes[] = { NULL }; static struct attribute *hwmon_fan_rpm_attributes[] = { &sensor_dev_attr_fan0_input.dev_attr.attr, &sensor_dev_attr_fan1_input.dev_attr.attr, NULL }; static struct attribute *hwmon_pwm_fan_attributes[] = { Loading Loading
Documentation/thermal/nouveau_thermal +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ attributes should be available: You may also have the following attribute: * fan0_input: Speed in RPM of your fan. * fan1_input: Speed in RPM of your fan. Your fan can be driven in different modes: Loading
drivers/gpu/drm/nouveau/nouveau_pm.c +3 −3 Original line number Diff line number Diff line Loading @@ -698,7 +698,7 @@ static SENSOR_DEVICE_ATTR(update_rate, S_IRUGO, NULL, 0); static ssize_t nouveau_hwmon_show_fan0_input(struct device *d, struct device_attribute *attr, nouveau_hwmon_show_fan1_input(struct device *d, struct device_attribute *attr, char *buf) { struct drm_device *dev = dev_get_drvdata(d); Loading @@ -707,7 +707,7 @@ nouveau_hwmon_show_fan0_input(struct device *d, struct device_attribute *attr, return snprintf(buf, PAGE_SIZE, "%d\n", therm->fan_sense(therm)); } static SENSOR_DEVICE_ATTR(fan0_input, S_IRUGO, nouveau_hwmon_show_fan0_input, static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, nouveau_hwmon_show_fan1_input, NULL, 0); static ssize_t Loading Loading @@ -887,7 +887,7 @@ static struct attribute *hwmon_attributes[] = { NULL }; static struct attribute *hwmon_fan_rpm_attributes[] = { &sensor_dev_attr_fan0_input.dev_attr.attr, &sensor_dev_attr_fan1_input.dev_attr.attr, NULL }; static struct attribute *hwmon_pwm_fan_attributes[] = { Loading