summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-07-17 13:12:25 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-07-17 13:12:25 +1000
commit09db6180e4205ef55516c24ac5dfc3bd861d9fd6 (patch)
tree989f14c975cc5707c7ba9fc3ab91c4ea4df447fd /src/nv30_exa.c
parent7da55d99e3c93cadda50dcad06b09c52daa0cc5b (diff)
downloadxorg-driver-xf86-video-nouveau-09db6180e4205ef55516c24ac5dfc3bd861d9fd6.tar.gz
nv30: don't pin shader memory
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index 9146d5c..b9087dd 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -665,9 +665,8 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn)
rankine = pNv->Nv3D;
if (!pNv->shader_mem) {
- if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_PIN |
- NOUVEAU_BO_MAP, 0, 0x1000,
- &pNv->shader_mem)) {
+ if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_MAP,
+ 0, 0x1000, &pNv->shader_mem)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Couldn't alloc fragprog buffer!\n");
nouveau_grobj_free(&pNv->Nv3D);