[PATCH Precise SRU] UBUNTU: SAUCE: drm/vmwgfx: add MODULE_DEVICE_TABLE so vmwgfx loads at boot
Tim Gardner
tim.gardner at canonical.com
Thu Sep 6 12:54:40 UTC 2012
From: Dave Airlie <airlied at gmail.com>
BugLink: http://bugs.launchpad.net/bugs/1039157
From: Dave Airlie <airlied at redhat.com>
This will cause udev to load vmwgfx instead of waiting for X
to do it.
Signed-off-by: Dave Airlie <airlied at redhat.com>
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index dff8fc7..6cea3a8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -178,6 +178,7 @@ static struct pci_device_id vmw_pci_id_list[] = {
{0x15ad, 0x0405, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VMWGFX_CHIP_SVGAII},
{0, 0, 0}
};
+MODULE_DEVICE_TABLE(pci, vmw_pci_id_list);
static int enable_fbdev;
--
1.7.9.5
More information about the kernel-team
mailing list