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

2017-10-26 Thread Chris Wilson
Quoting Michel Thierry (2017-10-26 19:49:06) > On 26/10/17 07:17, Michał Winiarski wrote: > > @@ -763,14 +770,14 @@ static int guc_init_doorbell_hw(struct intel_guc *guc) > > > > /* Now for every client (and not only execbuf_client) make sure > > their > > * doorbells are

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

2017-10-26 Thread Michel Thierry
On 10/26/2017 1:02 PM, Chris Wilson wrote: Quoting Michel Thierry (2017-10-26 19:49:06) On 26/10/17 07:17, Michał Winiarski wrote: @@ -763,14 +770,14 @@ static int guc_init_doorbell_hw(struct intel_guc *guc) /* Now for every client (and not only execbuf_client) make sure their

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

2017-10-26 Thread Michel Thierry
On 26/10/17 07:17, Michał Winiarski wrote: @@ -763,14 +770,14 @@ static int guc_init_doorbell_hw(struct intel_guc *guc) /* Now for every client (and not only execbuf_client) make sure their * doorbells are known by the GuC */ - //for (client = client_list; client !=

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

2017-10-26 Thread Michał Winiarski
From: Dave Gordon 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