projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5599a7
)
nouveau: missed PCI case
author
Ben Skeggs
<skeggsb@gmail.com>
Sun, 25 May 2008 04:26:18 +0000
(14:26 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 25 May 2008 04:26:18 +0000
(14:26 +1000)
src/gallium/winsys/dri/nouveau/nouveau_bo.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/dri/nouveau/nouveau_bo.c
b/src/gallium/winsys/dri/nouveau/nouveau_bo.c
index 792eaaa79e543f4f6f9b9849bbb0662e09d286c3..aca16a8b127e56c15ef10cfe118b548201a3f3a5 100644
(file)
--- a/
src/gallium/winsys/dri/nouveau/nouveau_bo.c
+++ b/
src/gallium/winsys/dri/nouveau/nouveau_bo.c
@@
-310,7
+310,8
@@
nouveau_bo_set_status(struct nouveau_bo *bo, uint32_t flags)
/* Check current memtype vs requested, if they match do nothing */
if ((nvbo->drm.flags & NOUVEAU_MEM_FB) && (flags & NOUVEAU_BO_VRAM))
return 0;
- if ((nvbo->drm.flags & NOUVEAU_MEM_AGP) && (flags & NOUVEAU_BO_GART))
+ if ((nvbo->drm.flags & (NOUVEAU_MEM_AGP | NOUVEAU_MEM_PCI)) &&
+ (flags & NOUVEAU_BO_GART))
return 0;
if (nvbo->drm.size == 0 && nvbo->sysmem && (flags & NOUVEAU_BO_LOCAL))
return 0;