mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
drm/i915: suppress false PLL state warnings on non-GMCH platforms
The checks for PLL enabled state on CPU ports are valid only on GMCH platforms but atm we'd also call them on non-PCH-split/non-GMCH platforms like BXT, triggering false warnings. Until the proper check is implented for these platforms simply disable the check. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Jesse Barnes <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
This commit is contained in:
parent
977bb38d2d
commit
503604038b
1 changed files with 2 additions and 2 deletions
|
|
@ -2131,7 +2131,7 @@ static void intel_enable_pipe(struct intel_crtc *crtc)
|
|||
* a plane. On ILK+ the pipe PLLs are integrated, so we don't
|
||||
* need the check.
|
||||
*/
|
||||
if (!HAS_PCH_SPLIT(dev_priv->dev))
|
||||
if (HAS_GMCH_DISPLAY(dev_priv->dev))
|
||||
if (intel_pipe_has_type(crtc, INTEL_OUTPUT_DSI))
|
||||
assert_dsi_pll_enabled(dev_priv);
|
||||
else
|
||||
|
|
@ -4666,7 +4666,7 @@ static void intel_crtc_load_lut(struct drm_crtc *crtc)
|
|||
if (!crtc->state->enable || !intel_crtc->active)
|
||||
return;
|
||||
|
||||
if (!HAS_PCH_SPLIT(dev_priv->dev)) {
|
||||
if (HAS_GMCH_DISPLAY(dev_priv->dev)) {
|
||||
if (intel_pipe_has_type(intel_crtc, INTEL_OUTPUT_DSI))
|
||||
assert_dsi_pll_enabled(dev_priv);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue