提交 8d6a741b 编写于 作者: Y Yongqiang Sun 提交者: Alex Deucher

drm/amd/display: Use pipe_control_lock instead of tg lock.

Signed-off-by: NYongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 7deff545
......@@ -1940,7 +1940,7 @@ static void dcn10_apply_ctx_for_surface(
tg = top_pipe_to_program->stream_res.tg;
tg->funcs->lock(tg);
dcn10_pipe_control_lock(dc, top_pipe_to_program, true);
if (num_planes == 0) {
......@@ -1989,7 +1989,7 @@ static void dcn10_apply_ctx_for_surface(
if (num_planes > 0)
program_all_pipe_in_tree(dc, top_pipe_to_program, context);
tg->funcs->unlock(tg);
dcn10_pipe_control_lock(dc, top_pipe_to_program, false);
if (num_planes == 0)
false_optc_underflow_wa(dc, stream, tg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部