]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify control flow in intel_atomic_check a bit.
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 9 May 2016 07:31:25 +0000 (09:31 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 May 2016 20:48:45 +0000 (22:48 +0200)
commitc44fb8548b95427ad7e28f80f31cfb8448a48aa4
tree603abc00f6a1dd725714ee44023718872644b7de
parent5c32a4dc179a6d324d6df7939753219edde219d5
drm/i915: Simplify control flow in intel_atomic_check a bit.

- Unconditionally add plane states. Core helpers would have done this
  in drm_atomic_helper_check_modeset, doing it once more won't cause
  harm and is less fragile.

- Simplify the continue logic when disabling a pipe.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1462779085-2458-1-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/intel_display.c