drm/i915: Perform dpll commit first, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 14 Mar 2016 08:27:53 +0000 (09:27 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 17 Mar 2016 08:27:40 +0000 (09:27 +0100)
commita1475e775edc7bc8c0528d834d90a0ee93e57b1e
treebe998d88a77c2ad69adebe339b428cc0a34bc135
parent2dd66ebde4431c93bfa211bc967a6f2089283aa6
drm/i915: Perform dpll commit first, v2.

Warn for the wrong mask in enable only. Disable will have the wrong mask now
because the new state is committed before disabling the old state.

Changes since v1:
- Use crtc_mask (Durgadoss)
- Rebase.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457944075-14123-3-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dpll_mgr.c