Skip to contentSkip to conversation

change the type of Unichrome display adapter (PCI ID=1106:3108)

PATCH In review Németh Márton 2 participants 2 messages Mar 15, 2008 – Mar 16, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change the type of Unichrome display adapter (PCI ID=1106:3108)

From: Márton Németh <[email protected]>

Change the type of Unichrome display adapter with PCI ID=1106:3108 to get rid of message "irq 16: nobody cared".

See http://bugzilla.kernel.org/show_bug.cgi?id=8641 for details.

---

drivers/char/drm/drm_pciids.h renamed from drivers/char/drm/drm_pciids.h.orig +1 -1
@@ -335,7 +335,7 @@
 	{0x1106, 0x3118, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
-	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \
 	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3343, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_DX9_0}, \
#1 lore raw
Quoted 24 lines · Németh Márton

From: Márton Németh <[email protected]>

Change the type of Unichrome display adapter with PCI ID=1106:3108 to get rid of message "irq 16: nobody cared".

See http://bugzilla.kernel.org/show_bug.cgi?id=8641 for details.

---

drivers/char/drm/drm_pciids.h renamed from drivers/char/drm/drm_pciids.h.orig +1 -2
@@ -335,7 +335,7 @@
 	{0x1106, 0x3118, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \
 	{0x1106, 0x3122, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x7205, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
-	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+	{0x1106, 0x3108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \
 	{0x1106, 0x3344, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3343, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
 	{0x1106, 0x3230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_DX9_0}, \
 
-------------------------------------------------------------------------
Quoted 9 lines

This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Nope, this is not a correct fix. It enables a set of DMA commands not available on the K8M800, also it makes the via IRQ handler just report "Handled" when in fact the device keeps firing 200 000 or so interrupts per second.

I'm 99.99 % convinced that this is a hw bug, and it also appears in the KM400 chipsets. When VIA was asked about it they replied that IRQ functionality was never verified in the K8M800 since the windows driver never used it. They only use IRQ for video capture transfer, and there is no video-in on K8M800s. Other unichromes with the same IRQ register interface work fine. Having said that, it's not impossible that there may be a hidden register somewhere that makes it all work.

The K8M800 irqs have been turned off in newer versions of the openChrome 2D driver to work around this issue.

/Thomas