search for: i2c_transf

Displaying 15 results from an estimated 15 matches for "i2c_transf".

Did you mean: i2c_transfer
2011 Nov 23
0
nouveau git + v3.2-rc2 + NV18 Oops
...1) [ 956.046226] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on tmds encoder (output 2) [ 956.046271] [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on TV encoder (output 3) [ 956.066346] BUG: unable to handle kernel NULL pointer dereference at (null) [ 956.066416] IP: [<c11bafc4>] i2c_transfer+0x17/0xab [ 956.066475] *pde = 00000000 [ 956.066521] Oops: 0000 [#1] [ 956.066567] Modules linked in: sil164 nouveau(+) ttm button i2c_algo_bit cfbcopyarea mxm_wmi video thermal_sys wmi cfbimgblt cfbfillrect fbcon font bitblit softcursor drm_kms_helper drm [last unloaded: button] [ 956.066...
2016 Feb 20
0
[PATCH v4 3/6] iccsense: implement for ina209, ina219 and ina3221
...2c_adapter *adap, u8 addr, u8 reg) } static inline int +nv_rd16i2cr(struct i2c_adapter *adap, u8 addr, u8 reg) +{ + u8 val[2]; + struct i2c_msg msgs[] = { + { .addr = addr, .flags = 0, .len = 1, .buf = &reg }, + { .addr = addr, .flags = I2C_M_RD, .len = 2, .buf = val }, + }; + + int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); + if (ret != 2) + return -EIO; + + return val[0] << 8 | val[1]; +} + +static inline int nvkm_wri2cr(struct i2c_adapter *adap, u8 addr, u8 reg, u8 val) { u8 buf[2] = { reg, val }; @@ -122,6 +138,21 @@ nvkm_wri2cr(struct i2c_adapter *adap, u8 addr, u8 reg,...
2012 Aug 26
0
3.6-rc3 DP I2C timeout after switcherood...
...fffffff Pid: 2051, comm: upowerd Not tainted 3.6.0-rc3-expert+ #8 Call Trace: [<ffffffffa00599c2>] auxch_tx+0x3b2/0x610 [nouveau] [<ffffffffa005a9b5>] nouveau_dp_auxch+0x25/0x30 [nouveau] [<ffffffffa005aa58>] nouveau_dp_i2c_xfer+0x98/0xd0 [nouveau] [<ffffffff81363fbc>] __i2c_transfer+0x5c/0x80 [<ffffffff8136530a>] i2c_transfer+0x5a/0xa0 [<ffffffffa0055336>] nouveau_probe_i2c_addr+0x46/0x50 [nouveau] [<ffffffffa005769d>] nouveau_connector_detect+0xdd/0x2c0 [nouveau] [<ffffffff812b9dd1>] status_show+0x41/0x90 [<ffffffff812cfcfb>] dev_attr_show...
2012 Nov 15
5
[Bug 57151] New: repeatable nouveau driver crashes/hangs during resume on Dell Latitude E6510 when drm.debug=14
...] Nov 14 23:21:27 karolszk-lap kernel: [ 613.414679] [<f84fb8f0>] bit_doAddress.isra.7+0x70/0x180 [i2c_algo_bit] Nov 14 23:21:27 karolszk-lap kernel: [ 613.414687] [<f84fba76>] bit_xfer+0x76/0x600 [i2c_algo_bit] Nov 14 23:21:27 karolszk-lap kernel: [ 613.414697] [<c1450f2d>] i2c_transfer+0x8d/0xc0 Nov 14 23:21:27 karolszk-lap kernel: [ 613.414727] [<f8f34f55>] nouveau_probe_i2c_addr+0x45/0x50 [nouveau] Nov 14 23:21:27 karolszk-lap kernel: [ 613.414758] [<f8f36854>] nouveau_connector_detect+0xc4/0x280 [nouveau] Nov 14 23:21:27 karolszk-lap kernel: [ 613.414769] [...
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
--- drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++----------------- 1 files changed, 21 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 5eec5ed..04ac564 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -181,43 +181,42 @@ struct methods { const char
2016 Feb 17
3
[PATCH 0/2] Support for INA3221 power sensor
The INA3221 is usually found on mid and high end kepler+ gpus Marins Patch implements the new iccsense subdev and all needed bits for the INA3221 power sensor. My Patch implements the hwmon power1 interface to expose the current power consumption through hwmon (and can be read out via sysfs or the sensors tool) Please test these patches for Fermi+ GPUs, that nothing gets messed up and works as
2016 Feb 17
0
[PATCH 1/2] power sensor support
...2c_adapter *adap, u8 addr, u8 reg) } static inline int +nv_rd16i2cr(struct i2c_adapter *adap, u8 addr, u8 reg) +{ + u8 val[2]; + struct i2c_msg msgs[] = { + { .addr = addr, .flags = 0, .len = 1, .buf = &reg }, + { .addr = addr, .flags = I2C_M_RD, .len = 2, .buf = val }, + }; + + int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); + if (ret != 2) + return -EIO; + + return val[0] << 8 | val[1]; +} + +static inline int nvkm_wri2cr(struct i2c_adapter *adap, u8 addr, u8 reg, u8 val) { u8 buf[2] = { reg, val }; @@ -122,6 +138,21 @@ nvkm_wri2cr(struct i2c_adapter *adap, u8 addr, u8 reg,...
2012 Jul 11
26
[Bug 51971] New: MacBook Pro 10, 1 Retina - Display Resets, No Connectors
https://bugs.freedesktop.org/show_bug.cgi?id=51971 Bug #: 51971 Summary: MacBook Pro 10,1 Retina - Display Resets, No Connectors Classification: Unclassified Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium
2016 Feb 24
7
[PATCH v5 0/6] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out. Now the implementation is more centered around the power_rails we find in the SENSE table instead of extdev centered. This makes the implementation a lot easier and straightforward. I've added support for the INA219, INA209 and INA3221 sensors found on multiple Fermi and Kepler cards. The power consumption is also exported via
2015 Aug 23
28
[Bug 91738] New: xf86-video-nouveau 1.0.11 will not allow X to start
https://bugs.freedesktop.org/show_bug.cgi?id=91738 Bug ID: 91738 Summary: xf86-video-nouveau 1.0.11 will not allow X to start Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau
2016 Feb 20
12
[PATCH v4 0/6] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out. Now the implementation is more centered around the power_rails we find in the SENSE table instead of extdev centered. This makes the implementation a lot easier and straightforward. I've added support for the INA219, INA209 and INA3221 sensors found on multiple Fermi and Kepler cards. The power consumption is also exported via
2016 Feb 20
4
[PATCH v3 0/4] Suppor for various power sensors on GF100+
This is a complete rework from the first version I sent out. Now the implementation is more centered around the power_rails we find in the SENSE table instead of extdev centered. This makes the implementation a lot easier and straightforward. I've added support for the INA219, INA209 and INA3221 sensors found on multiple Fermi and Kepler cards. The power consumption is also exported via
2016 Feb 19
4
[PATCH v2 0/4] Suppor for various power sensors on GF100+
This is a complete rework from the last version I sent out. Now the implementation is more centered around the power_rails we find in the SENSE table instead of extdev centered. This makes the implementation a lot easier and straightforward. I've added support for the INA219, INA209 and INA3221 sensors found on multiple Fermi and Kepler cards, but only the INA3221 bits are tested so far.
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of nouveau_hw_save_vga_fonts, when it actually did something (because the console wasn't already in graphics mode). Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS implementation. I've tried to test it on all the hardware I've got at hand (that is nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output combination; I believe it has reached a mergeable state, however it depends on some commits from drm-next that haven't got into Linus' tree yet, if you agree to merge this