commit | d7697eea3eec74c561d12887d892c53ac4380c00 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Sun Jun 02 17:23:01 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 03 14:16:12 2013 +0200 |
tree | d061d515c8b7cbdee1c68ed365742f20ff048a58 | |
parent | b51b32cde1757cd0f3f75bc15d5e0e98c3007dff [diff] |
drm/i915: optimize vblank waits in set_base_atomic We only need to do them if the pipe is actually running and if the framebuffers have changed. Removes two "wait for vblank timed out" messages when doing a suspend/resume cycle on my i855gm. v2: s/to_intel_ctrc(crtc)/intel_crtc/ spotted by Chris. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>