drm/i915: PSR VLV: Add single frame update.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 10 Apr 2015 18:15:10 +0000 (11:15 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Apr 2015 17:15:23 +0000 (19:15 +0200)
commitc7240c3bc5d6610b42dbb10fda71bbbf1dad5515
tree7d711d513eeb51d484baaeb2fab266f36a0fe507
parent89251b177b588adf5e62df42d51017d24047f44b
drm/i915: PSR VLV: Add single frame update.

According to spec: "In PSR HW or SW mode, SW set this bit before writing
registers for a flip. It will be self-clear when it gets to the PSR
active state."

Some versions of spec mention that this is needed when in
"Persistent mode" but define it as same as "SW mode". Since this
fix the page flip case let's assume this is exactly what we need.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@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_drv.h
drivers/gpu/drm/i915/intel_frontbuffer.c
drivers/gpu/drm/i915/intel_psr.c