diff options
| -rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 1 | ||||
| -rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 3f75cfaf1c3f..e0019378f8b1 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
| @@ -517,6 +517,7 @@ | |||
| 517 | * the enables for writing to the corresponding low bit. | 517 | * the enables for writing to the corresponding low bit. |
| 518 | */ | 518 | */ |
| 519 | #define _3D_CHICKEN 0x02084 | 519 | #define _3D_CHICKEN 0x02084 |
| 520 | #define _3D_CHICKEN_HIZ_PLANE_DISABLE_MSAA_4X_SNB (1 << 10) | ||
| 520 | #define _3D_CHICKEN2 0x0208c | 521 | #define _3D_CHICKEN2 0x0208c |
| 521 | /* Disables pipelining of read flushes past the SF-WIZ interface. | 522 | /* Disables pipelining of read flushes past the SF-WIZ interface. |
| 522 | * Required on all Ironlake steppings according to the B-Spec, but the | 523 | * Required on all Ironlake steppings according to the B-Spec, but the |
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 5835277d9632..3b85660ce4e4 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
| @@ -3592,6 +3592,10 @@ static void gen6_init_clock_gating(struct drm_device *dev) | |||
| 3592 | I915_READ(ILK_DISPLAY_CHICKEN2) | | 3592 | I915_READ(ILK_DISPLAY_CHICKEN2) | |
| 3593 | ILK_ELPIN_409_SELECT); | 3593 | ILK_ELPIN_409_SELECT); |
| 3594 | 3594 | ||
| 3595 | /* WaDisableHiZPlanesWhenMSAAEnabled */ | ||
| 3596 | I915_WRITE(_3D_CHICKEN, | ||
| 3597 | _MASKED_BIT_ENABLE(_3D_CHICKEN_HIZ_PLANE_DISABLE_MSAA_4X_SNB)); | ||
| 3598 | |||
| 3595 | I915_WRITE(WM3_LP_ILK, 0); | 3599 | I915_WRITE(WM3_LP_ILK, 0); |
| 3596 | I915_WRITE(WM2_LP_ILK, 0); | 3600 | I915_WRITE(WM2_LP_ILK, 0); |
| 3597 | I915_WRITE(WM1_LP_ILK, 0); | 3601 | I915_WRITE(WM1_LP_ILK, 0); |
