On Tue, Jul 05, 2016 at 10:01:30AM +0100, [email protected] wrote:
> From: Tim Gore <[email protected]>
> 
> This patch applies WaMediaPoolStateCmdInWABB which fixes
> a problem with the restoration of thread counts on resuming
> from RC6.
> 
> References: HSD#2137167
> Signed-off-by: Tim Gore <[email protected]>
> ---
>  drivers/gpu/drm/i915/intel_lrc.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_lrc.c 
> b/drivers/gpu/drm/i915/intel_lrc.c
> index 676b532..017b25c 100644
> --- a/drivers/gpu/drm/i915/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/intel_lrc.c
> @@ -1296,6 +1296,31 @@ static int gen9_init_indirectctx_bb(struct 
> intel_engine_cs *engine,
>               wa_ctx_emit(batch, index, 0);
>               wa_ctx_emit(batch, index, 0);
>       }
> +
> +     /* WaMediaPoolStateCmdInWABB:bxt */
> +     if (HAS_POOLED_EU(engine->i915)) {
> +             /*
> +              * EU pool configuration is setup along with golden context
> +              * during context initialization.

And then mention why we need it per-bb.

"...The EU pool however needs to be re-enabled following rc6."

So what happens when the device goes into rc6 in the middle of a batch?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to