commit | 6173ee2886ca46e00ba3d8f0b4a9a1cd6f8a76ce | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Wed Sep 23 16:29:39 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Oct 19 11:38:29 2015 +0200 |
tree | 9f5802057332d096428bc976d6023bc4c385118e | |
parent | 6285262259ca3d12da57073236a55d1b81bf8643 [diff] |
drm/i915: Only call commit_planes when there are things to commit. The atomic helpers set planes_changed on a crtc_state if there is any plane_state bound to that crtc. If there's none and there is no pipe update required the crtc has nothing to update, so vblank evasion can be skipped. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>