drm/i915: ->disable hook for WRPLLs
Currently still with a redudant WARN_ON in there, the common shared dpll code will take care of this in the future. Also we need to flip the switch for the transitional hack now to make sure that we disable the right pll. Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -5224,9 +5224,11 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,
|
||||
if (HAS_IPS(dev))
|
||||
hsw_compute_ips_config(crtc, pipe_config);
|
||||
|
||||
/* XXX: PCH clock sharing is done in ->mode_set, so make sure the old
|
||||
* clock survives for now. */
|
||||
if (HAS_PCH_IBX(dev) || HAS_PCH_CPT(dev))
|
||||
/*
|
||||
* XXX: PCH/WRPLL clock sharing is done in ->mode_set, so make sure the
|
||||
* old clock survives for now.
|
||||
*/
|
||||
if (HAS_PCH_IBX(dev) || HAS_PCH_CPT(dev) || HAS_DDI(dev))
|
||||
pipe_config->shared_dpll = crtc->config.shared_dpll;
|
||||
|
||||
if (pipe_config->has_pch_encoder)
|
||||
|
Reference in New Issue
Block a user