disp: avoid encoder-connector checks with cont-splash

When continuous splash is enabled, connector states
are not properly updated with the encoder associated
with it. This is by design, so avoid all making
such request there by avoiding unnecessary errors
during the bootup. Fix a handful of warnings in
the PLL definition files

Change-Id: I7f08c5ff80ea2a2bfb4b19f2ea13c8f9cbb833e8
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
このコミットが含まれているのは:
Narendra Muppalla
2019-04-12 11:41:56 -07:00
コミット 11c9fc4e92
3個のファイルの変更8行の追加7行の削除

ファイルの表示

@@ -2288,7 +2288,8 @@ u32 sde_crtc_get_fps_mode(struct drm_crtc *crtc)
}
drm_for_each_encoder(encoder, crtc->dev)
if (encoder->crtc == crtc)
if ((encoder->crtc == crtc)
&& !sde_encoder_in_cont_splash(encoder))
return sde_encoder_get_fps(encoder);
return 0;
@@ -3341,7 +3342,7 @@ static void sde_crtc_destroy_state(struct drm_crtc *crtc,
SDE_DEBUG("crtc%d\n", crtc->base.id);
if (sde_kms && enc)
if (sde_kms && enc && !sde_encoder_in_cont_splash(enc))
sde_rm_release(&sde_kms->rm, enc, true);
__drm_atomic_helper_crtc_destroy_state(state);