~ubuntu-branches/ubuntu/raring/xserver-xorg-video-nouveau/raring

« back to all changes in this revision

Viewing changes to src/nv30_exa.c

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-07-08 08:31:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090708083159-43u08h03oku0d1h1
Tags: 1:0.0.10~git+20090708+ef3a386-0ubuntu1
* New upstream snapshot
  + Too many git commits to usefully list in changelog.  Lots of fixes,
    especially for nv5x and nv6x chips.

Show diffs side-by-side

added added

removed removed

Lines of Context:
665
665
        rankine = pNv->Nv3D;
666
666
 
667
667
        if (!pNv->shader_mem) {
668
 
                if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_PIN,
669
 
                                   0, 0x1000, &pNv->shader_mem)) {
 
668
                if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM | NOUVEAU_BO_PIN |
 
669
                                   NOUVEAU_BO_MAP, 0, 0x1000,
 
670
                                   &pNv->shader_mem)) {
670
671
                        xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
671
672
                                   "Couldn't alloc fragprog buffer!\n");
672
673
                        nouveau_grobj_free(&pNv->Nv3D);