[PATCH] drm: populate irq_by_busid-member for pci

Wolfram Sang w.sang at pengutronix.de
Wed Jun 15 02:26:47 PDT 2011


Commit 8410ea (drm: rework PCI/platform driver interface) implemented
drm_pci_irq_by_busid() but forgot to make it available in the
drm_pci_bus-struct.

This caused a freeze on my Radeon9600-equipped laptop when executing glxgears.
Thanks to Michel for noticing the flaw.

Reported-by: Michel Dänzer <daenzer at vmware.com>
Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
Cc: Dave Airlie <airlied at redhat.com>
---

stable-candidate, 2.6.39 is affected, too.

 drivers/gpu/drm/drm_pci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c
index e1aee4f..e4e7fde 100644
--- a/drivers/gpu/drm/drm_pci.c
+++ b/drivers/gpu/drm/drm_pci.c
@@ -292,6 +292,7 @@ static struct drm_bus drm_pci_bus = {
 	.get_name = drm_pci_get_name,
 	.set_busid = drm_pci_set_busid,
 	.set_unique = drm_pci_set_unique,
+	.irq_by_busid = drm_pci_irq_by_busid,
 	.agp_init = drm_pci_agp_init,
 };
 
-- 
1.7.2.5



More information about the dri-devel mailing list