drm/i915: PSR HSW: update after enabling sprite.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 12 Jun 2014 17:16:46 +0000 (10:16 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Jun 2014 15:45:28 +0000 (17:45 +0200)
On the current structure HSW doesn't support PSR with sprites enabled
but sprites can be enabled after PSR was enabled what would cause
user to miss screen updates.

v2: move it to update_plane.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Vijay Purushothaman <vijay.a.purushothaman@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c

index 1b66ddcdfb331cdcb83dd9558ce494041cebc2b3..404335d53a89545edfc69d984ebfab07a3e6ec64 100644 (file)
@@ -1051,6 +1051,8 @@ intel_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
                mutex_unlock(&dev->struct_mutex);
        }
 
+       intel_edp_psr_update(dev);
+
        return 0;
 }