OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5666b
)
always enable and set master on pci device
author
Dave Airlie
<airlied@linux.ie>
Sat, 18 Feb 2006 04:18:45 +0000
(
04:18
+0000)
committer
Dave Airlie
<airlied@linux.ie>
Sat, 18 Feb 2006 04:18:45 +0000
(
04:18
+0000)
linux-core/drm_stub.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_stub.c
b/linux-core/drm_stub.c
index
cabef26
..
6ba6f6e
100644
(file)
--- a/
linux-core/drm_stub.c
+++ b/
linux-core/drm_stub.c
@@
-214,8
+214,11
@@
int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,
if (!drm_fb_loaded) {
pci_set_drvdata(pdev, dev);
pci_request_regions(pdev, driver->pci_driver.name);
- pci_enable_device(pdev);
}
+
+ pci_enable_device(pdev);
+ 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_g1;