git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5f9d4
)
drm: the drm really should call pci_set_master..
author
Dave Airlie
<airlied@redhat.com>
Thu, 7 Feb 2008 04:48:32 +0000
(14:48 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 7 Feb 2008 05:09:40 +0000
(15:09 +1000)
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>
drivers/char/drm/drm_stub.c
patch
|
blob
|
history
diff --git
a/drivers/char/drm/drm_stub.c
b/drivers/char/drm/drm_stub.c
index
def072d
..
d93a217
100644
(file)
--- 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;