drm/i915/bdw: Add 42ms delay for IPS disable
authorBen Widawsky <benjamin.widawsky@linux.intel.com>
Thu, 10 Apr 2014 21:32:41 +0000 (14:32 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Apr 2014 09:38:21 +0000 (11:38 +0200)
commit23d0b13036d14257ae4d226209cd7845f25af8e0
treec8c30f96f2ffed883c55b68b6378d4a789f6a2c1
parent439d7ac0879f9fd4c56f212e03477f358133c56c
drm/i915/bdw: Add 42ms delay for IPS disable

This is a requirement added to the spec. This patch will prevent
persistent corruption on the display.

v2: Make the wait before the vblank wait. (Art)
Try to finish early by polling the register
s/present/prevent (Chris)

Cc: Art Runyan <arthur.j.runyan@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Upgrade debug output to ERROR.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c