diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2009-01-29 14:32:13 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2009-01-29 15:31:11 +1000 |
commit | 410788dc896d99b658508e3a7ebcb4940a039f35 (patch) | |
tree | e31203c0627be74402465e4854175f15da2f12f0 /src/nv30_exa.c | |
parent | 4c9346bd750797ee0f0485195f7ce8beb2114b04 (diff) | |
download | xorg-driver-xf86-video-nouveau-410788dc896d99b658508e3a7ebcb4940a039f35.tar.gz |
blow up horribly if GPU access to mapped buffer is attempted
...and fix the numerous cases where this was done. The current bufmgr couldn't
care less, and synchronisation is done elsewhere. This won't be the case for
much longer.
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r-- | src/nv30_exa.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c index ee2da4a..0657b46 100644 --- a/src/nv30_exa.c +++ b/src/nv30_exa.c @@ -668,12 +668,6 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn) nouveau_grobj_free(&pNv->Nv3D); return FALSE; } - if (nouveau_bo_map(pNv->shader_mem, NOUVEAU_BO_RDWR)) { - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, - "Couldn't map fragprog buffer!\n"); - nouveau_grobj_free(&pNv->Nv3D); - return FALSE; - } } BEGIN_RING(chan, rankine, NV34TCL_DMA_TEXTURE0, 3); |