]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm: the drm really should call pci_set_master..
authorDave Airlie <airlied@linux.ie>
Thu, 7 Feb 2008 05:43:11 +0000 (05:43 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:29 +0000 (11:46 -0800)
(submitted upstream as 19a8f59ab8ceee751ea720085098355d53f727d6)

perhaps bonghits could turn on my bus-mastering because the drm
certainly never bothered doing it before.

Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/drm/drm_stub.c

index ee83ff9efed68026e189d4552bc59087f9908468..a157ee526cedee13639a201646daba42093f0feb 100644 (file)
@@ -218,6 +218,7 @@ int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,
        if (ret)
                goto err_g1;
 
+       pci_set_master(pdev);
        if ((ret = drm_fill_in_dev(dev, pdev, ent, driver))) {
                printk(KERN_ERR "DRM: Fill_in_dev failed.\n");
                goto err_g2;