[Intel-gfx] [PATCH v5] drm/i915/guc: Add a second client, to be used for preemption

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Oct 26 13:44:27 UTC 2017


On Thu, 26 Oct 2017 15:32:31 +0200, Michał Winiarski  
<michal.winiarski at intel.com> wrote:

> From: Dave Gordon <david.s.gordon at intel.com>
>
> This second client is created with priority KMD_HIGH, and marked
> as preemptive. This will allow us to request preemption using GuC  
> actions.
>
> v2: Extract clients creation into a helper, debugfs fixups. (Michał)
> Recreate doorbell on init. (Daniele)
> Move clients into an array.
>
> v3: And move clients back from an array, to get rid of the enum (Michał)
>
> v4: Use is_high_priority, move DRM_ERROR into __create_doorbell, move
> GEM_BUG_ON inside guc_clients_create (Michał)
>
> v5: Split the BUG_ON (Michał)
>
> Signed-off-by: Dave Gordon <david.s.gordon at intel.com>
> Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Jeff McGee <jeff.mcgee at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Oscar Mateo <oscar.mateo at intel.com>
> ---

Reviewed-by: Michal Wajdeczko <michal.wajdeczko at intel.com>


More information about the Intel-gfx mailing list