Re: [PATCH 06/22] drm/i915: Hold a reference to the active HW context

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

 



Quoting Tvrtko Ursulin (2019-03-18 12:54:00)
> 
> On 18/03/2019 09:51, Chris Wilson wrote:
> > For virtual engines, we need to keep the HW context alive while it
> > remains in use. For regular HW contexts, they are created and kept alive
> > until the end of the GEM context. For simplicity, generalise the
> > requirements and keep an active reference to each HW context.
> 
> Is there a functional effect from this patch? Later with veng added?

If by functional do you mean prevents the code from eating itself on
use-after-free after the engines are freed, then yes.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux