]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: lock down pch pll accouting some more
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Jun 2013 15:28:22 +0000 (17:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Jun 2013 17:45:48 +0000 (19:45 +0200)
commitf4a091c71baa55dc8822614ab716525779623c1c
treee68d571496458aecfe00162d58f67889558a8759
parentd925c59a8174c8c150da7e0a38e35d89a8e7149c
drm/i915: lock down pch pll accouting some more

Before I start to make a complete mess out of this, crank up
the paranoia level a bit.

v2: Kill the has_pch_encoder check in put_shared_dpll - it's invalid
as spotted by Ville since we currently only put the dpll when we
already have the new pipe config. So a direct pch port -> cpu edp
transition will hit this.

v3: Now that I've lifted my blinders add the WARN_ON Ville requested.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c