search for: hwmon_device_regist

Displaying 20 results from an estimated 44 matches for "hwmon_device_regist".

Did you mean: hwmon_device_register
2017 May 16
0
[PATCH v7 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...u_pwm_write > * Get rid of nouveau_hwmon_set_temp_* and implement the code inside > nouveau_temp_write > v6 -> v7: > * Got rid of all dummy functions that only had a return, and moved > code into the switch statements. > > > This patchseries replaces the deprecated hwmon_device_register function with the > new one hwmon_device_register_with_info. > It also does some cleanup. > > Oscar Salvador (5): > nouveau/hwmon: Add config for all sensors and their settings > nouveau/hwmon: Add nouveau_hwmon_ops structure with > .is_visible/.read_string >...
2017 Apr 13
3
[PATCH 0/4] nouveau_hwmon: migrate to hwmon_device_register_with_info
Hi again, I've split the patches as Karol Herbst suggested. I hope now it's fine. This series of patches introduce the new hwmon_device_register_with_info and gets rid of the old hwmon_device_register. This patch adds the default sensors with their possible config values. Just to prepare for the next patches --- linux/drivers/gpu/drm/nouveau/nouveau_hwmon.c.orig 2017-04-12 19:18:09.638073562 +0200 +++ linux/drivers/gpu/drm/nouveau/nouv...
2016 Mar 02
0
[PATCH] hwmon: fix crash on non-PCI platforms
...diff --git a/drm/nouveau/nouveau_hwmon.c b/drm/nouveau/nouveau_hwmon.c index 3fa1e78e4ece..67edd2f5b71a 100644 --- a/drm/nouveau/nouveau_hwmon.c +++ b/drm/nouveau/nouveau_hwmon.c @@ -640,7 +640,7 @@ nouveau_hwmon_init(struct drm_device *dev) return -ENOMEM; hwmon->dev = dev; - hwmon_dev = hwmon_device_register(&dev->pdev->dev); + hwmon_dev = hwmon_device_register(dev->dev); if (IS_ERR(hwmon_dev)) { ret = PTR_ERR(hwmon_dev); NV_ERROR(drm, "Unable to register hwmon device: %d\n", ret); -- 2.7.2
2017 May 18
7
[PATCH v8 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...* Get rid of nouveau_hwmon_set_temp_* and implement the code inside nouveau_temp_write v6 -> v7: * Got rid of all dummy functions that only had a return, and moved code into the switch statements. v7 -> v8: * Fix warnings This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Oscar Salvador (5): nouveau/hwmon: Add config for all sensors and their settings nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string nouveau/hwmon: Remove old code, add .write...
2017 May 16
7
[PATCH v7 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...le and implement the code inside nouveau_pwm_write * Get rid of nouveau_hwmon_set_temp_* and implement the code inside nouveau_temp_write v6 -> v7: * Got rid of all dummy functions that only had a return, and moved code into the switch statements. This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Oscar Salvador (5): nouveau/hwmon: Add config for all sensors and their settings nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string nouveau/hwmon: Remove old code, add .write...
2017 Sep 19
2
nVidia GT218M [GeForce 315M] issues on kUbuntu 17.04 x86-64.
...202346 [ 2.868668] nouveau 0000:01:00.0: DRM: DCB conn 04: 00000400 [ 2.868669] nouveau 0000:01:00.0: DRM: DCB conn 05: 00000210 [ 2.868670] nouveau 0000:01:00.0: DRM: DCB conn 06: 00000211 [ 2.868671] nouveau 0000:01:00.0: DRM: DCB conn 07: 00000213 [ 2.876862] nouveau 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). [ 2.899146] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies [ 2.947414] nouveau 0000:01:00.0: DRM: allocated 1366x768 fb: 0x70000, bo ffff98488129b800 [ 2.948762] fbcon: nouveaufb (fb0) is pr...
2017 Apr 21
6
[PATCH v3 0/5] replace hwmon_device_register for hwmon_device_register_with_info
Hi, this is version v3 with some fix-ups: Versions: v1 -> v2: * Keep temp attrs as read only v2 -> v3: * Code fix-ups: struct and string as const and add return within switch due to fallthrough * Add Signed-off-by to all commits This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Here is the list of patches and what they do: 1/ Adds config structures for all sensors and their possible settings. This patch and the next one are just preparing the code for what it comes. 2/ Now everyt...
2017 May 08
5
[PATCH v6 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...ouveau_power_is_visible function * Expose temperature attrs as RW again * Get rid of nouveau_hwmon_set_pwm1/_enable and implement the code inside nouveau_pwm_write * Get rid of nouveau_hwmon_set_temp_* and implement the code inside nouveau_temp_write This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Oscar Salvador (5): nouveau/hwmon: Add config for all sensors and their settings nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string nouveau/hwmon: Remove old code, add .write...
2017 Apr 22
6
[PATCH v4 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...eep temp attrs as read only v2 -> v3: * Code fix-ups: struct and string as const and add return within switch due to fallthrough * Add Signed-off-by to all commits v3 -> v4: * Rever const to struct attribute. Kbuild complains. This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Oscar Salvador (5): nouveau_hwmon: Add config for all sensors and their settings nouveau_hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string nouveau_hwmon: Remove old code, add .write...
2017 Sep 19
2
nVidia GT218M [GeForce 315M] issues on kUbuntu 17.04 x86-64.
...conn 04: 00000400 >>> [ 2.868669] nouveau 0000:01:00.0: DRM: DCB conn 05: 00000210 >>> [ 2.868670] nouveau 0000:01:00.0: DRM: DCB conn 06: 00000211 >>> [ 2.868671] nouveau 0000:01:00.0: DRM: DCB conn 07: 00000213 >>> [ 2.876862] nouveau 0000:01:00.0: hwmon_device_register() is >>> deprecated. Please convert the driver to use >>> hwmon_device_register_with_info(). >>> [ 2.899146] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer >>> copies >>> [ 2.947414] nouveau 0000:01:00.0: DRM: allocated 1366x768 fb: >&gt...
2017 Apr 17
9
[PATCH v2 0/5] replace hwmon_device_register for hwmon_device_register_with_info
Hi! This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Here is the list of patches and what they do: 1/ Adds config structures for all sensors and their possible settings. This patch and the next one are just preparing the code for what it comes. 2/ Now everyt...
2017 Jan 11
3
GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP
...1:00.0: DRM: DCB outp 01: 04013f86 04600010 *nouveau* 0000:01:00.0: DRM: DCB outp 02: 04013f82 00020010 *nouveau* 0000:01:00.0: DRM: DCB conn 01: 00010161 *nouveau* 0000:01:00.0: DRM: DCB conn 03: 01000346 *nouveau* 0000:01:00.0: DRM: Pointer to flat panel table invalid *nouveau* 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). *nouveau* 0000:01:00.0: DRM: failed to create kernel channel, -22 *nouveau* 0000:01:00.0: DRM: allocated 1024x768 fb: 0x60000, bo ffff92d669dd7000 *nouveau* 0000:01:00.0: fb0: *nouveau*fb frame buffer device...
2017 May 07
2
GT 730 freeze : how do diagnose / debug ?
...2.620380] nouveau 0000:01:00.0: DRM: DCB outp 02: 02022f10 00000000 [ 2.620381] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001031 [ 2.620381] nouveau 0000:01:00.0: DRM: DCB conn 01: 00002161 [ 2.620382] nouveau 0000:01:00.0: DRM: DCB conn 02: 00000200 [ 2.666199] nouveau 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). [ 2.717519] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies [ 2.992994] nouveau 0000:01:00.0: DRM: allocated 2560x1440 fb: 0x60000, bo ffff8cd1499f8000 [ 3.025200] fbcon: nouveaufb (fb0) is p...
2017 Apr 26
9
[PATCH v5 0/5] replace hwmon_device_register for hwmon_device_register_with_info
...t and add return within switch due to fallthrough * Add Signed-off-by to all commits v3 -> v4: * Rever const to struct attribute. Kbuild complains. v4 -> v5: * Drops a check for attr_set in "nouveau_temp_is_visible". This patchseries replaces the deprecated hwmon_device_register function with the new one hwmon_device_register_with_info. It also does some cleanup. Oscar Salvador (5): nouveau_hwmon: Add config for all sensors and their settings nouveau_hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string nouveau_hwmon: Remove old code, add .write...
2016 Feb 20
0
[PATCH v4 5/6] hwmon: don't require therm to be valid to get any data
...index c4f77f5..a630192 100644 --- a/drm/nouveau/nouveau_hwmon.c +++ b/drm/nouveau/nouveau_hwmon.c @@ -643,9 +643,6 @@ nouveau_hwmon_init(struct drm_device *dev) return -ENOMEM; hwmon->dev = dev; - if (!therm || !therm->attr_get || !therm->attr_set) - return -ENODEV; - hwmon_dev = hwmon_device_register(&dev->pdev->dev); if (IS_ERR(hwmon_dev)) { ret = PTR_ERR(hwmon_dev); @@ -659,26 +656,28 @@ nouveau_hwmon_init(struct drm_device *dev) if (ret) goto error; - /* if the card has a working thermal sensor */ - if (nvkm_therm_temp_get(therm) >= 0) { - ret = sysfs_create_group...
2017 Jan 08
0
4.10-rc2: mouse cursor works with geforce gtx 1070, at last
...conn 00: 00001031 nouveau 0000:01:00.0: DRM: DCB conn 01: 02000146 nouveau 0000:01:00.0: DRM: DCB conn 02: 01000246 nouveau 0000:01:00.0: DRM: DCB conn 03: 00010361 nouveau 0000:01:00.0: DRM: DCB conn 04: 00020446 nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid nouveau 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). nouveau 0000:01:00.0: DRM: failed to create kernel channel, -22 nouveau 0000:01:00.0: DRM: allocated 1920x1200 fb: 0x60000, bo ffff881057419400 fbcon: nouveaufb (fb0) is primary device nouveau 0000:01:00.0: fb0:...
2017 Sep 19
0
nVidia GT218M [GeForce 315M] issues on kUbuntu 17.04 x86-64.
...202346 [ 2.868668] nouveau 0000:01:00.0: DRM: DCB conn 04: 00000400 [ 2.868669] nouveau 0000:01:00.0: DRM: DCB conn 05: 00000210 [ 2.868670] nouveau 0000:01:00.0: DRM: DCB conn 06: 00000211 [ 2.868671] nouveau 0000:01:00.0: DRM: DCB conn 07: 00000213 [ 2.876862] nouveau 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). [ 2.899146] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies [ 2.947414] nouveau 0000:01:00.0: DRM: allocated 1366x768 fb: 0x70000, bo ffff98488129b800 [ 2.948762] fbcon: nouveaufb (fb0) i...
2017 Sep 19
0
nVidia GT218M [GeForce 315M] issues on kUbuntu 17.04 x86-64.
...1:00.0: DRM: DCB conn 04: 00000400 >> [ 2.868669] nouveau 0000:01:00.0: DRM: DCB conn 05: 00000210 >> [ 2.868670] nouveau 0000:01:00.0: DRM: DCB conn 06: 00000211 >> [ 2.868671] nouveau 0000:01:00.0: DRM: DCB conn 07: 00000213 >> [ 2.876862] nouveau 0000:01:00.0: hwmon_device_register() is >> deprecated. Please convert the driver to use >> hwmon_device_register_with_info(). >> [ 2.899146] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer >> copies >> [ 2.947414] nouveau 0000:01:00.0: DRM: allocated 1366x768 fb: >> 0x70000, bo ffff98...
2017 Jan 11
0
GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP
...DCB outp 02: 04013f82 00020010 > [ 6.576527] nouveau 0000:01:00.0: DRM: DCB conn 01: 00010161 > [ 6.576528] nouveau 0000:01:00.0: DRM: DCB conn 03: 01000346 > [ 6.576529] nouveau 0000:01:00.0: DRM: Pointer to flat panel table > invalid > [ 6.787082] nouveau 0000:01:00.0: hwmon_device_register() is deprecated. > Please convert the driver to use hwmon_device_register_with_info(). > [ 6.827434] nouveau 0000:01:00.0: DRM: failed to create kernel channel, > -22 > [ 7.069863] nouveau 0000:01:00.0: DRM: allocated 1024x768 fb: 0x60000, bo > ffff92d669dd7000 > [ 9.43...
2017 Oct 10
0
nVidia GT218M [GeForce 315M] issues on kUbuntu 17.04 x86-64.
...00 >>>> [ 2.868669] nouveau 0000:01:00.0: DRM: DCB conn 05: 00000210 >>>> [ 2.868670] nouveau 0000:01:00.0: DRM: DCB conn 06: 00000211 >>>> [ 2.868671] nouveau 0000:01:00.0: DRM: DCB conn 07: 00000213 >>>> [ 2.876862] nouveau 0000:01:00.0: hwmon_device_register() is >>>> deprecated. Please convert the driver to use >>>> hwmon_device_register_with_info(). >>>> [ 2.899146] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer >>>> copies >>>> [ 2.947414] nouveau 0000:01:00.0: DRM: allocated...