Displaying 5 results from an estimated 5 matches for "nouveau_i2c_init".
2011 Oct 12
5
[Bug 41732] New: Kernel bug: null pointer dereference in nouveau_i2c_init
https://bugs.freedesktop.org/show_bug.cgi?id=41732
           Summary: Kernel bug: null pointer dereference in
                    nouveau_i2c_init
           Product: xorg
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        Rep...
2012 Jan 18
1
[PATCH] drm/nouveau/i2c: Fix i2c initialization on cards with DCB older than 1.5
...2c.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_i2c.c b/drivers/gpu/drm/nouveau/nouveau_i2c.c
index 820ae7f..57bcbc3 100644
--- a/drivers/gpu/drm/nouveau/nouveau_i2c.c
+++ b/drivers/gpu/drm/nouveau/nouveau_i2c.c
@@ -344,14 +344,15 @@ nouveau_i2c_init(struct drm_device *dev)
 		if (i2c[5]) legacy[0][1] = i2c[5];
 		if (i2c[6]) legacy[1][0] = i2c[6];
 		if (i2c[7]) legacy[1][1] = i2c[7];
+		version = 0;
 	}
 
-	if (i2c && version >= 0x30) {
+	if (version >= 0x30) {
 		entry     = i2c[1] + i2c;
 		entries   = i2c[2];
 		recordlen = i...
2009 Nov 19
2
[RFC] nouveau: Add basic i2c sensor chip support
...e *dev)
+{
+	struct drm_nouveau_private *dev_priv = dev->dev_private;
+	struct nvbios *bios = &dev_priv->VBIOS;
+	struct i2c_adapter *adapter;
+	int address;
+
+	if (dev_priv->card_type < NV_50)
+		address = 2;
+	else
+		address = bios->bdcb.i2c_default_indices & 0xf;
+
+	if (nouveau_i2c_init(dev, &bios->bdcb.management_i2c, address))
+		return -ENODEV;
+
+	adapter = &bios->bdcb.management_i2c.chan->adapter;
+
+	nouveau_thermal_i2c_probe(adapter, 0x2d);
+	nouveau_thermal_i2c_probe(adapter, 0x2e);
+	nouveau_thermal_i2c_probe(adapter, 0x4c);
+	return 0;
+}
+
+static ssize...
2009 Apr 18
111
[Bug 21273] New: Driver can't detect video output and xserver doesn't start
http://bugs.freedesktop.org/show_bug.cgi?id=21273
           Summary: Driver can't detect video output and xserver doesn't
                    start
           Product: xorg
           Version: git
          Platform: PowerPC
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo:
2012 Oct 27
47
[Bug 56461] New: NV11 black screen & kernel hang on loading nouveaufb
https://bugs.freedesktop.org/show_bug.cgi?id=56461
          Priority: medium
            Bug ID: 56461
          Assignee: nouveau at lists.freedesktop.org
           Summary: NV11 black screen & kernel hang on loading nouveaufb
        QA Contact: xorg-team at lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: chris at