Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334719
b: refs/heads/master
c: 4bf24c0
h: refs/heads/master
i:
  334717: 3d728b8
  334715: b88be94
  334711: c1c001c
  334703: 95f7cdb
  334687: 987ad3f
  334655: a83bdec
  334591: 83ecf23
v: v3
  • Loading branch information
Ben Skeggs committed Oct 22, 2012
1 parent 6d6720f commit f093f31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1626a965141b1e600efad29947b6c36dab183c3
refs/heads/master: 4bf24c02150a4c5e31d397342b1157496f1881ee
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/vm/nv41.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ nv41_vmmgr_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
struct nv04_vmmgr_priv *priv;
int ret;

if (!nouveau_boolopt(device->cfgopt, "NvPCIE", true)) {
if (pci_find_capability(device->pdev, PCI_CAP_ID_AGP) ||
!nouveau_boolopt(device->cfgopt, "NvPCIE", true)) {
return nouveau_object_ctor(parent, engine, &nv04_vmmgr_oclass,
data, size, pobject);
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/vm/nv44.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ nv44_vmmgr_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
struct nv04_vmmgr_priv *priv;
int ret;

if (!nouveau_boolopt(device->cfgopt, "NvPCIE", true)) {
if (pci_find_capability(device->pdev, PCI_CAP_ID_AGP) ||
!nouveau_boolopt(device->cfgopt, "NvPCIE", true)) {
return nouveau_object_ctor(parent, engine, &nv04_vmmgr_oclass,
data, size, pobject);
}
Expand Down

0 comments on commit f093f31

Please sign in to comment.