disp: msm: update seamless check for connector
During CWB case where writeback connector is disabled and connectors_changed is set, add support to allow disabling of corresponding encoder for this connector. Modify the seamless check for connector to handle the same. With this cwb + dfps concurrency can be handled. Change-Id: Ia8f86bd12ac3c5ab622334fb04cdcb2e2b60f111 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org> Signed-off-by: Steve Cohen <cohens@codeaurora.org>
このコミットが含まれているのは:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2014 Red Hat
|
||||
* Author: Rob Clark <robdclark@gmail.com>
|
||||
*
|
||||
@@ -83,6 +83,10 @@ static inline bool _msm_seamless_for_conn(struct drm_connector *connector,
|
||||
if (enable)
|
||||
return false;
|
||||
|
||||
if (!connector->state->crtc &&
|
||||
old_conn_state->crtc->state->connectors_changed)
|
||||
return false;
|
||||
|
||||
if (msm_is_mode_seamless(&connector->encoder->crtc->state->mode))
|
||||
return true;
|
||||
|
||||
|
新しいイシューから参照
ユーザーをブロックする