Message ID | 1428667946-29838-2-git-send-email-nicholas.hoath@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On pe, 2015-04-10 at 13:12 +0100, Nick Hoath wrote: > Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> Reviewed-by: Imre Deak <imre.deak@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; > } >
On Wed, Apr 29, 2015 at 03:16:29PM +0300, Imre Deak wrote: > On pe, 2015-04-10 at 13:12 +0100, Nick Hoath wrote: > > Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> > > Reviewed-by: Imre Deak <imre.deak@intel.com> Queued for -next, thanks for the patch. -Daniel
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; }
Signed-off-by: Nick Hoath <nicholas.hoath@intel.com> --- drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++++++ 1 file changed, 7 insertions(+)