diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0288-drm-amd-display-Use-stream_enc-to-get-head-pipe.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0288-drm-amd-display-Use-stream_enc-to-get-head-pipe.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0288-drm-amd-display-Use-stream_enc-to-get-head-pipe.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0288-drm-amd-display-Use-stream_enc-to-get-head-pipe.patch new file mode 100644 index 00000000..55e1c0cf --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0288-drm-amd-display-Use-stream_enc-to-get-head-pipe.patch @@ -0,0 +1,29 @@ +From 25beb683eacfa5f8534f1bd6fdbe51111d0545c7 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Tue, 14 Mar 2017 16:41:50 -0400 +Subject: [PATCH 0288/4131] drm/amd/display: Use stream_enc to get head pipe. + +Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +index 6700d6b..9f624e8 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +@@ -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; + } +-- +2.7.4 + |