Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180543
b: refs/heads/master
c: 75dfca8
h: refs/heads/master
i:
  180541: 78d6e8d
  180539: ee1b16b
  180535: 45cc253
  180527: 1f16342
  180511: c0355c4
  180479: ff0406e
v: v3
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Feb 11, 2010
1 parent a56c676 commit 96dfc2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84b79f8d2882b0a84330c04839ed4d3cefd2ff77
refs/heads/master: 75dfca80a610e4e87d3b9ccfb3f520692808697d
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4094,6 +4094,7 @@ static void intel_unpin_work_fn(struct work_struct *__work)

mutex_lock(&work->dev->struct_mutex);
i915_gem_object_unpin(work->old_fb_obj);
drm_gem_object_unreference(work->pending_flip_obj);
drm_gem_object_unreference(work->old_fb_obj);
mutex_unlock(&work->dev->struct_mutex);
kfree(work);
Expand Down Expand Up @@ -4221,8 +4222,9 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
return ret;
}

/* Reference the old fb object for the scheduled work. */
/* Reference the objects for the scheduled work. */
drm_gem_object_reference(work->old_fb_obj);
drm_gem_object_reference(obj);

crtc->fb = fb;
i915_gem_object_flush_write_domain(obj);
Expand Down

0 comments on commit 96dfc2e

Please sign in to comment.