]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Remove vblank wait from haswell_write_eld
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Apr 2014 14:56:09 +0000 (16:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Apr 2014 16:52:47 +0000 (18:52 +0200)
commitc79057922ed6c2c6df1214e6ab4414fea1b23db2
tree7bef3edde567ac34101708ed932c07054d178cab
parenta5c4d7bc187bd13bc11ac06bb4ea3a0d4001aa4d
drm/i915: Remove vblank wait from haswell_write_eld

The pipe is off at that point in time, so a vblank wait is simply a
50ms wait. Caught by Jesse's verbose "make vblank wait timeouts WARN"
patch. We've probably had a few versions of this float around already.

To document assumptions put a pipe assert into the same place. And
also add a posting read.

If we ever decide to update the eld and infoframes while the pipe is
already on (e.g. for fastboot) then there's lots of work to do. So
better properly document all the hidden assumptions.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c