Re: [PATCH] drm/i915: Always use kref tracking for all contexts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 03, 2014 at 01:36:25PM +0300, Mika Kuoppala wrote:
> Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux