]> git.baikalelectronics.ru Git - kernel.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)
commit2ab3d14427cc8e3626306ebc5236a5dd9e28e2e3
tree7bef3edde567ac34101708ed932c07054d178cab
parent2ae50a3039ff511ff15a18e13019d19f0b20566a
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