[Intel-gfx] [PATCH] drm/i915: Always use kref tracking for all contexts.
Chris Wilson
chris at chris-wilson.co.uk
Thu Apr 3 12:44:37 CEST 2014
On Thu, Apr 03, 2014 at 01:36:25PM +0300, Mika Kuoppala wrote:
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> > + if (to->obj == NULL) { /* We have the fake context */
> > + if (to != ring->last_context) {
> > + if (to)
> > + i915_gem_context_reference(to);
> ^^
> Not needed as you have already oopsed earlier if it doesnt exist.
Force of habit.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list