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

drm/amd/display: Use stream_enc to get head pipe.

Signed-off-by: NYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 745cc746
......@@ -887,7 +887,7 @@ struct pipe_ctx *resource_get_head_pipe_for_stream(
int i;
for (i = 0; i < res_ctx->pool->pipe_count; i++) {
if (res_ctx->pipe_ctx[i].stream == stream &&
!res_ctx->pipe_ctx[i].top_pipe) {
res_ctx->pipe_ctx[i].stream_enc) {
return &res_ctx->pipe_ctx[i];
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册