@@ -374,6 +374,8 @@ typedef struct drm_i915_private {
u32 saveCACHE_MODE_0;
u32 saveD_STATE;
u32 saveDSPCLK_GATE_D;
+ u32 saveRENCLK_GATE_D1;
+ u32 saveRENCLK_GATE_D2;
u32 saveMI_ARB_STATE;
u32 saveSWF0[16];
u32 saveSWF1[16];
b/drivers/gpu/drm/i915/i915_suspend.c
@@ -723,6 +723,8 @@ int i915_save_state(struct drm_device *dev)
/* Clock gating state */
dev_priv->saveD_STATE = I915_READ(D_STATE);
dev_priv->saveDSPCLK_GATE_D = I915_READ(DSPCLK_GATE_D); /* Not sure
about this */
+ dev_priv->saveRENCLK_GATE_D1 = I915_READ(RENCLK_GATE_D1);
+ dev_priv->saveRENCLK_GATE_D2 = I915_READ(RENCLK_GATE_D2);
/* Cache mode state */