]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: clean up the cpu edp pll special case
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 20:15:41 +0000 (22:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:23:03 +0000 (14:23 +0200)
commite6d85660899f6497c8e2fc1b3420e33e4898f71c
treed7ca7e875d151d61ae95f2a2f60edfeaa64eb09f
parent53fdd2b3f69d714ada0ee36764765cb7fabe8ccc
drm/i915: clean up the cpu edp pll special case

By using the new pre_enable/post_disable functions.

To ensure that we only frob the cpu edp pll while the pipe is off add
the relevant asserts. Thanks to the new output state staging, this is
now really easy.

With this fixed we can now finally rip out the special-case handling
in the dp dpms code and replace it by the common intel_connector_dpms.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c