diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-29 15:59:33 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-06 14:34:35 +0100 |
commit | ab527efc2feadcab1cad0740be307cb4153b493f (patch) | |
tree | 6ee8a6f5e954f2df583661a35673598a775db279 /Documentation/device-mapper | |
parent | 1ce17038093f02e708e5816f645bbec63aff8bd2 (diff) | |
download | blackbird-op-linux-ab527efc2feadcab1cad0740be307cb4153b493f.tar.gz blackbird-op-linux-ab527efc2feadcab1cad0740be307cb4153b493f.zip |
drm/i915: use wait_for_vblank instead of msleep(17)
17 ms is eerily close to 60 Hz ^-1
Unfortunately this goes back to the original DP enabling for ilk, and
unfortunately does not come with a reason for it's existance attached.
Some closer inspection of the code and DP specs shows that we set the
idle link pattern before we disable the port. And it seems like that
the DP spec (or at least our hw) only switch to the idle pattern on
the next vblank. Hence a vblank wait at this spot makes _much_ more
sense than a really long wait.
v2: Rebase fixup.
v3: Add comment requested by Paulo Zanoni saying that we don't really
know what this wait is for.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions