diff options
author | Maarten Lankhorst | 2015-09-23 16:29:39 +0200 |
---|---|---|
committer | Daniel Vetter | 2015-10-19 11:38:29 +0200 |
commit | 6173ee2886ca46e00ba3d8f0b4a9a1cd6f8a76ce (patch) | |
tree | 9f5802057332d096428bc976d6023bc4c385118e /drivers/gpu/drm/i915/intel_crt.c | |
parent | drm/i915: Only run commit when crtc is active, v2. (diff) | |
download | kernel-qcow2-linux-6173ee2886ca46e00ba3d8f0b4a9a1cd6f8a76ce.tar.gz kernel-qcow2-linux-6173ee2886ca46e00ba3d8f0b4a9a1cd6f8a76ce.tar.xz kernel-qcow2-linux-6173ee2886ca46e00ba3d8f0b4a9a1cd6f8a76ce.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_crt.c')
0 files changed, 0 insertions, 0 deletions