提交 0bed85e4 编写于 作者: D Dillon Varone 提交者: Alex Deucher

drm/amd/display: Disable MALL SS and messages for PSR supported configs

[Description]
The two features are not supported at the same time in driver at this time,
so disable it.
Reviewed-by: NAlvin Lee <Alvin.Lee2@amd.com>
Acked-by: NAlan Liu <HaoPing.Liu@amd.com>
Signed-off-by: NDillon Varone <Dillon.Varone@amd.com>
Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 028c4ccf
...@@ -247,6 +247,13 @@ bool dcn32_apply_idle_power_optimizations(struct dc *dc, bool enable) ...@@ -247,6 +247,13 @@ bool dcn32_apply_idle_power_optimizations(struct dc *dc, bool enable)
if (!dc->ctx->dmub_srv) if (!dc->ctx->dmub_srv)
return false; return false;
for (i = 0; i < dc->current_state->stream_count; i++) {
/* MALL SS messaging is not supported with PSR at this time */
if (dc->current_state->streams[i] != NULL &&
dc->current_state->streams[i]->link->psr_settings.psr_version != DC_PSR_VERSION_UNSUPPORTED)
return false;
}
if (enable) { if (enable) {
if (dc->current_state) { if (dc->current_state) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册