提交 57d972d4 编写于 作者: R Roman Li 提交者: Alex Deucher

drm/amd/display: Fix FBC disable for stereo

Removed FBC disable from dc_enable_stereo().
It should be implemented in stereo_setup callback, which is not
implemented yet. Otherwise it always disable FBC regardless
if stereo supported or not.
Signed-off-by: NRoman Li <Roman.Li@amd.com>
Reviewed-by: NBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 214435ff
......@@ -881,10 +881,6 @@ bool dc_enable_stereo(
struct pipe_ctx *pipe;
struct dc *core_dc = dc;
#ifdef ENABLE_FBC
struct compressor *fbc_compressor = core_dc->fbc_compressor;
#endif
for (i = 0; i < MAX_PIPES; i++) {
if (context != NULL)
pipe = &context->res_ctx.pipe_ctx[i];
......@@ -897,13 +893,6 @@ bool dc_enable_stereo(
}
}
#ifdef ENABLE_FBC
if (fbc_compressor != NULL &&
fbc_compressor->funcs->is_fbc_enabled_in_hw(core_dc->fbc_compressor,
NULL))
fbc_compressor->funcs->disable_fbc(fbc_compressor);
#endif
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册