[Intel-gfx] [PATCH 36/89] drm/i915/skl: Implement WaDisableDgMirrorFixInHalfSliceChicken5:skl
Rodrigo Vivi
rodrigo.vivi at gmail.com
Wed Sep 17 23:22:18 CEST 2014
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <damien.lespiau at intel.com>
wrote:
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
> drivers/gpu/drm/i915/i915_reg.h | 3 +++
> drivers/gpu/drm/i915/intel_pm.c | 8 ++++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h
> b/drivers/gpu/drm/i915/i915_reg.h
> index 5928a75..c293dab 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -5862,6 +5862,9 @@ enum punit_power_well {
> #define GEN7_SINGLE_SUBSCAN_DISPATCH_ENABLE (1<<10)
> #define GEN7_PSD_SINGLE_PORT_DISPATCH_ENABLE (1<<3)
>
> +#define GEN9_HALF_SLICE_CHICKEN5 0xe188
> +#define GEN9_DG_MIRROR_FIX_ENABLE (1<<5)
> +
> #define GEN8_ROW_CHICKEN 0xe4f0
> #define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE (1<<8)
> #define STALL_DOP_GATING_DISABLE (1<<5)
> diff --git a/drivers/gpu/drm/i915/intel_pm.c
> b/drivers/gpu/drm/i915/intel_pm.c
> index c38baea..faff54e 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -77,6 +77,14 @@ static void gen9_init_clock_gating(struct drm_device
> *dev)
> I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) |
> GEN8_SDEUNIT_CLOCK_GATE_DISABLE);
>
> + /*
> + * WaDisableDgMirrorFixInHalfSliceChicken5:skl
> + * This is a pre-production w/a.
> + */
> + I915_WRITE(GEN9_HALF_SLICE_CHICKEN5,
> + I915_READ(GEN9_HALF_SLICE_CHICKEN5) &
> + ~GEN9_DG_MIRROR_FIX_ENABLE);
> +
> /* Wa4x4STCOptimizationDisable:skl */
> I915_WRITE(CACHE_MODE_1,
> _MASKED_BIT_ENABLE(GEN8_4x4_STC_OPTIMIZATION_DISABLE));
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
--
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140917/6a02b9f3/attachment.html>
More information about the Intel-gfx
mailing list