From: Dave Airlie Date: Thu, 7 Feb 2008 04:48:32 +0000 (+1000) Subject: drm: the drm really should call pci_set_master.. X-Git-Tag: v2.6.25-rc1~301^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a8f59ab8ceee751ea720085098355d53f727d6;p=linux-2.6 drm: the drm really should call pci_set_master.. perhaps bonghits could turn on my bus-mastering because the drm certainly never bothered doing it before. Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c index def072df90..d93a217f85 100644 --- a/drivers/char/drm/drm_stub.c +++ b/drivers/char/drm/drm_stub.c @@ -217,6 +217,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;