Skip to contentSkip to conversation

New: NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

Bug 14921 [email protected] 1 participant 8 messages Mar 9, 2008 – Mar 11, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=14921

Summary: NV25 doesn't work after commit
71adbfc874517efbba8b9f7c3f90baad0d7fb707
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

After drm commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707 nouveau no longer works on my nv25, even with the fix in commit 5f15f317fb304f6a2321c033d401f603b365f2d0 it still doesn't work. Commenting out:

NV_WRITE(NV04_PBUS_PCI_NV_19, saved_pci_nv_19 & 0xfffff0ff);

makes it work.

03:00.0 VGA Compatible controller [0300]: nVidia Corporation NV25 [GeForce4 Ti 4400] [10de:0251] (rev a2)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |sb476-KWPb1pKIrIJaa/[email protected]

--- Comment #1 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-09 19:46:00 PST --- Does changing NV_WRITE(NV04_PBUS_PCI_NV_19, saved_pci_nv_19 & 0xfffff0ff); to NV_WRITE(NV04_PBUS_PCI_NV_19, saved_pci_nv_19 & 0xfffffeff); make it work?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

--- Comment #2 from Peter Winters <[email protected]> 2008-03-10 05:53:20 PST --- (In reply to comment #1)

Quoted 3 lines

Does changing NV_WRITE(NV04_PBUS_PCI_NV_19, saved_pci_nv_19 & 0xfffff0ff); to NV_WRITE(NV04_PBUS_PCI_NV_19, saved_pci_nv_19 & 0xfffffeff); make it work?

Nope, still the same problem.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

--- Comment #3 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-10 09:17:05 PST --- Any change by doing either or both of these blocks of changes?

shared-core/nv04_mc.c +6 -0
index 766f3a3..43131f1 100644
@@ -12,6 +12,10 @@ nv04_mc_init(struct drm_device *dev)
        saved_pci_nv_1 = NV_READ(NV04_PBUS_PCI_NV_1);
        saved_pci_nv_19 = NV_READ(NV04_PBUS_PCI_NV_19);
 
+       NV_WRITE(0x108c, 0x51);
+       NV_WRITE(0x1830, 0);
+       NV_WRITE(0x180c, 0xf800);
+
        /* clear busmaster bit */
        NV_WRITE(NV04_PBUS_PCI_NV_1, saved_pci_nv_1 & ~(0x00000001 << 2));
        /* clear SBA and AGP bits */
@@ -20,6 +24,8 @@ nv04_mc_init(struct drm_device *dev)
        /* Power up everything, resetting each individual unit will
         * be done later if needed.
         */
+       NV_WRITE(NV03_PMC_ENABLE, 0xFFFF0FFF);
+       udelay(400);
        NV_WRITE(NV03_PMC_ENABLE, 0xFFFFFFFF);
 
        /* and restore (gives effect of resetting AGP) */
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

--- Comment #4 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-10 17:40:59 PST --- Created an attachment (id=15020)
--> (http://bugs.freedesktop.org/attachment.cgi?id=15020)
Move AGP reset, and cycle PGRAPH

Can you check it still works in this form please

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

--- Comment #5 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-10 17:57:23 PST --- Also worth testing with the udelay replaced with a read of PMC_ENABLE

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

--- Comment #6 from Peter Winters <[email protected]> 2008-03-11 06:55:55 PST --- Still works, also works without the udelay and with udelay replaced with a
PMC_ENABLE read.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 14921] NV25 doesn' t work after commit 71adbfc874517efbba8b9f7c3f90baad0d7fb707

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14921

Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-03-11 09:50:49 PST --- Pushed

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.