diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-06 23:48:32 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:09:40 -0500 |
commit | 19a8f59ab8ceee751ea720085098355d53f727d6 (patch) | |
tree | e28da924bc2f97bcc97849182e77878cbb0cd061 | |
parent | 5f5f9d4c7bf96c044fb98c7c107172a730b2a247 (diff) |
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 <airlied@linux.ie>
-rw-r--r-- | drivers/char/drm/drm_stub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c index def072df9028..d93a217f856a 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, | |||
217 | if (ret) | 217 | if (ret) |
218 | goto err_g1; | 218 | goto err_g1; |
219 | 219 | ||
220 | pci_set_master(pdev); | ||
220 | if ((ret = drm_fill_in_dev(dev, pdev, ent, driver))) { | 221 | if ((ret = drm_fill_in_dev(dev, pdev, ent, driver))) { |
221 | printk(KERN_ERR "DRM: Fill_in_dev failed.\n"); | 222 | printk(KERN_ERR "DRM: Fill_in_dev failed.\n"); |
222 | goto err_g2; | 223 | goto err_g2; |