Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux...
authorDave Airlie <airlied@redhat.com>
Tue, 6 May 2014 23:06:21 +0000 (09:06 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 May 2014 23:06:21 +0000 (09:06 +1000)
nouveau fixes.

* 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
  drm/gm107/gr: bump attrib cb size quite a bit
  drm/nouveau: fix another lock unbalance in nouveau_crtc_page_flip
  drm/nouveau/bios: fix shadowing from PROM on big-endian systems
  drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi

1  2 
drivers/gpu/drm/nouveau/core/subdev/bios/base.c
drivers/gpu/drm/nouveau/nouveau_display.c

@@@ -764,12 -764,12 +764,12 @@@ nouveau_crtc_page_flip(struct drm_crtc 
        }
  
        ret = nouveau_page_flip_emit(chan, old_bo, new_bo, s, &fence);
-       mutex_unlock(&chan->cli->mutex);
        if (ret)
                goto fail_unreserve;
+       mutex_unlock(&chan->cli->mutex);
  
        /* Update the crtc struct and cleanup */
 -      crtc->fb = fb;
 +      crtc->primary->fb = fb;
  
        nouveau_bo_fence(old_bo, fence);
        ttm_bo_unreserve(&old_bo->bo);