search for: nvkm_i2c_bus_ctor

Displaying 4 results from an estimated 4 matches for "nvkm_i2c_bus_ctor".

Did you mean: nvkm_i2c_aux_ctor
2018 Jul 18
3
[PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths
...spend the MST topology. I'm not an expert on DisplayPort MultiStream transport. BTW Lyude, in patch 4 and 5 of this series, you're runtime resuming pad->i2c->subdev.device->dev. Is this the PCI device or is it the i2c device? I'm always confused by nouveau's structs. In nvkm_i2c_bus_ctor() I can see that the device you're runtime resuming is the parent of the i2c_adapter: struct nvkm_device *device = pad->i2c->subdev.device; [...] bus->i2c.dev.parent = device->dev; If the i2c_adapter is a child of the PCI device, it's sufficient to runtime resume the i2c_ad...
2018 Jul 18
1
[PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths
...xpert on DisplayPort MultiStream transport. > > > > BTW Lyude, in patch 4 and 5 of this series, you're runtime resuming > > pad->i2c->subdev.device->dev. Is this the PCI device or is it the i2c > > device? I'm always confused by nouveau's structs. In nvkm_i2c_bus_ctor() > > I can see that the device you're runtime resuming is the parent of the > > i2c_adapter: > > > > struct nvkm_device *device = pad->i2c->subdev.device; > > [...] > > bus->i2c.dev.parent = device->dev; > > > > If the i2c_adapte...
2018 Jul 18
0
[PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths
...gt; I'm not an expert on DisplayPort MultiStream transport. > > BTW Lyude, in patch 4 and 5 of this series, you're runtime resuming > pad->i2c->subdev.device->dev. Is this the PCI device or is it the i2c > device? I'm always confused by nouveau's structs. In nvkm_i2c_bus_ctor() > I can see that the device you're runtime resuming is the parent of the > i2c_adapter: > > struct nvkm_device *device = pad->i2c->subdev.device; > [...] > bus->i2c.dev.parent = device->dev; > > If the i2c_adapter is a child of the PCI device, it's...
2018 Jul 17
4
[PATCH 1/5] drm/nouveau: Prevent RPM callback recursion in suspend/resume paths
On Tue, Jul 17, 2018 at 12:53:11PM -0400, Lyude Paul wrote: > On Tue, 2018-07-17 at 09:16 +0200, Lukas Wunner wrote: > > On Mon, Jul 16, 2018 at 07:59:25PM -0400, Lyude Paul wrote: > > > In order to fix all of the spots that need to have runtime PM get/puts() > > > added, we need to ensure that it's possible for us to call > > > pm_runtime_get/put() in any