drm/i915: Document that we are implementing WaDisableBackToBackFlipFix
Subsystems (2)
PATCH 1/2 drm/i915: Document that we are implementing WaDisableBackToBackFlipFix
From: Damien Lespiau <[email protected]>
For the next person that checks these kind of things, without having to dig up the register definition.
--- drivers/gpu/drm/i915/intel_pm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +2 -0
@@ -3541,6 +3541,7 @@ static void ivybridge_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); +/* WaDisableBackToBackFlipFix */ I915_WRITE (IVB_CHICKEN3 ,CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE |CHICKEN3_DGMG_DONE_FIX_DISABLE );
@@ -3621,6 +3622,7 @@ static void valleyview_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); +/* WaDisableBackToBackFlipFix */ I915_WRITE (IVB_CHICKEN3 ,CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE |CHICKEN3_DGMG_DONE_FIX_DISABLE );
Signature · 1 line
1.7.7.5
PATCH 2/2 drm/i915: Remove the WaDisableBackToBackFlipFix w/a for Haswell
From: Damien Lespiau <[email protected]>
This workaround is only valid for IVB and VLV and the write triggers an error on HSW.
--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +0 -4
@@ -3479,10 +3479,6 @@ static void haswell_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); -I915_WRITE (IVB_CHICKEN3 , -CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE | -CHICKEN3_DGMG_DONE_FIX_DISABLE ); -/* Apply the WaDisableRHWOOptimizationForRenderHang workaround. */ I915_WRITE (GEN7_COMMON_SLICE_CHICKEN1 ,GEN7_CSC1_RHWO_OPT_DISABLE_IN_RCC );
Signature · 1 line
1.7.7.5
Re: [PATCH 2/2] drm/i915: Remove the WaDisableBackToBackFlipFix w/a for Haswell
2012/10/4 Damien Lespiau <[email protected]>:
Quoted 4 lines
From: Damien Lespiau <[email protected]>
This workaround is only valid for IVB and VLV and the write triggers an error on HSW.
In other words: the register does not exist anymore.
It would be nice if we could volunteer someone to check the other workarounds on the same function. The registers may exist but the WAs may not be needed anymore.
Quoted 29 lines
Signed-off-by Damien Lespiau <[email protected]>Cc Paulo Zanoni <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/intel_pm.c +0
-5@@ -3479,10 +3479,6 @@ static void haswell_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); -I915_WRITE (IVB_CHICKEN3 , -CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE | -CHICKEN3_DGMG_DONE_FIX_DISABLE ); -/* Apply the WaDisableRHWOOptimizationForRenderHang workaround. */ I915_WRITE (GEN7_COMMON_SLICE_CHICKEN1 ,GEN7_CSC1_RHWO_OPT_DISABLE_IN_RCC ); --1.7.7.5
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Paulo Zanoni
Re: [PATCH 2/2] drm/i915: Remove the WaDisableBackToBackFlipFix w/a for Haswell
Quoted 3 lines · Paulo Zanoni
It would be nice if we could volunteer someone to check the other workarounds on the same function. The registers may exist but the WAs may not be needed anymore.
I've done a pass this morning and with the new patch posted list, I think we're good.
Signature · 1 line
Damien
2012/10/4 Damien Lespiau <[email protected]>:
Quoted 6 lines
From: Damien Lespiau <[email protected]>
For the next person that checks these kind of things, without having to dig up the register definition.
Signed-off-by Damien Lespiau <[email protected]>
Quoted 31 lines
--- drivers/gpu/drm/i915/intel_pm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/gpu/drm/i915/intel_pm.c +2
-1@@ -3541,6 +3541,7 @@ static void ivybridge_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); +/* WaDisableBackToBackFlipFix */ I915_WRITE (IVB_CHICKEN3 ,CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE |CHICKEN3_DGMG_DONE_FIX_DISABLE );@@ -3621,6 +3622,7 @@ static void valleyview_init_clock_gating(struct drm_device *dev)I915_WRITE (_3D_CHICKEN3,_MASKED_BIT_ENABLE (_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); +/* WaDisableBackToBackFlipFix */ I915_WRITE (IVB_CHICKEN3 ,CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE |CHICKEN3_DGMG_DONE_FIX_DISABLE ); --1.7.7.5
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Paulo Zanoni
Quoted 9 lines · Paulo Zanoni
2012/10/4 Damien Lespiau <[email protected]>:
Quoted 6 lines
From: Damien Lespiau <[email protected]>
For the next person that checks these kind of things, without having to dig up the register definition.
Signed-off-by Damien Lespiau <[email protected]>Reviewed-by Paulo Zanoni <[email protected]>
Both patches merged into dinq, thanks.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch