]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Merge remote branch 'korg/drm-core-next' into drm-next-stage
authorDave Airlie <airlied@redhat.com>
Mon, 1 Mar 2010 05:40:12 +0000 (15:40 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Mar 2010 05:40:12 +0000 (15:40 +1000)
* korg/drm-core-next:
  drm/ttm: handle OOM in ttm_tt_swapout
  drm/radeon/kms/atom: fix shr/shl ops
  drm/kms: fix spelling of "CLOCK"
  drm/kms: fix fb_changed = true else statement
  drivers/gpu/drm/drm_fb_helper.c: don't use private implementation of atoi()
  drm: switch all GEM/KMS ioctls to unlocked ioctl status.
  Use drm_gem_object_[handle_]unreference_unlocked where possible
  drm: introduce drm_gem_object_[handle_]unreference_unlocked

1  2 
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/radeon/atom.c
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/ttm/ttm_tt.c

Simple merge
Simple merge
Simple merge
index e9d085021c1f08d2fb7b0edc40450eb9fa7580a2,da59f5e78e0927b9a65d2f215f4e2047fa6711a6..70ba02ed77237ba31299a7cbc56694dc3e62d57a
@@@ -189,16 -189,15 +189,13 @@@ static void radeon_cs_parser_fini(struc
  {
        unsigned i;
  
 -      if (error && parser->ib) {
 -              radeon_bo_list_unvalidate(&parser->validated,
 -                                              parser->ib->fence);
 -      } else {
 -              radeon_bo_list_unreserve(&parser->validated);
 +      if (!error && parser->ib) {
 +              radeon_bo_list_fence(&parser->validated, parser->ib->fence);
        }
 +      radeon_bo_list_unreserve(&parser->validated);
        for (i = 0; i < parser->nrelocs; i++) {
-               if (parser->relocs[i].gobj) {
-                       mutex_lock(&parser->rdev->ddev->struct_mutex);
-                       drm_gem_object_unreference(parser->relocs[i].gobj);
-                       mutex_unlock(&parser->rdev->ddev->struct_mutex);
-               }
+               if (parser->relocs[i].gobj)
+                       drm_gem_object_unreference_unlocked(parser->relocs[i].gobj);
        }
        kfree(parser->track);
        kfree(parser->relocs);
Simple merge