[Intel-gfx] [PATCH 1/3] drm/i915/bxt: Add WaDisableThreadStallDopClockGating

Imre Deak imre.deak at intel.com
Wed Apr 29 05:16:29 PDT 2015


On pe, 2015-04-10 at 13:12 +0100, Nick Hoath wrote:
> Signed-off-by: Nick Hoath <nicholas.hoath at intel.com>

Reviewed-by: Imre Deak <imre.deak at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
> index 883e11f..5aad253 100644
> --- a/drivers/gpu/drm/i915/intel_ringbuffer.c
> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
> @@ -1038,8 +1038,15 @@ static int skl_init_workarounds(struct intel_engine_cs *ring)
>  
>  static int bxt_init_workarounds(struct intel_engine_cs *ring)
>  {
> +	struct drm_device *dev = ring->dev;
> +	struct drm_i915_private *dev_priv = dev->dev_private;
> +
>  	gen9_init_workarounds(ring);
>  
> +	/* WaDisableThreadStallDopClockGating:bxt */
> +	WA_SET_BIT_MASKED(GEN8_ROW_CHICKEN,
> +			  STALL_DOP_GATING_DISABLE);
> +
>  	return 0;
>  }
>  




More information about the Intel-gfx mailing list