[Intel-gfx] [PATCH] drm/i915: Only allocate preempt context when required
Daniele Ceraolo Spurio
daniele.ceraolospurio at intel.com
Mon Jan 29 17:22:27 UTC 2018
On 27/01/18 12:28, Chris Wilson wrote:
> If we remove some hardcoded assumptions about the preempt context having
> a fixed id, reserved from use by normal user contexts, we may only
> allocate the i915_gem_context when required. Then the subsequent
> decisions on using preemption reduce to having the preempt context
> available.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michal Winiarski <michal.winiarski at intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> ---
Acked-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
I didn't spot anything wrong with the patch, but I'll leave the full
review to the preemption experts ;)
Thanks,
Daniele
More information about the Intel-gfx
mailing list