diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2879-drm-amd-display-Remove-unnecessary-wait-mpcc-idle.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2879-drm-amd-display-Remove-unnecessary-wait-mpcc-idle.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2879-drm-amd-display-Remove-unnecessary-wait-mpcc-idle.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2879-drm-amd-display-Remove-unnecessary-wait-mpcc-idle.patch new file mode 100644 index 00000000..cf6e4a19 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2879-drm-amd-display-Remove-unnecessary-wait-mpcc-idle.patch @@ -0,0 +1,35 @@ +From a67fe5f04437109bdc6ddda254594e7075354b15 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Wed, 15 Nov 2017 16:06:15 -0500 +Subject: [PATCH 2879/4131] drm/amd/display: Remove unnecessary wait mpcc idle. + +Before power gate plane, mpcc idle wait is processed, +no need to wait another time. + +Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> +Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc.c | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c +index a989e45..f71a04a 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c +@@ -1178,12 +1178,6 @@ static void commit_planes_for_stream(struct dc *dc, + if (update_type == UPDATE_TYPE_FULL) { + dc->hwss.set_bandwidth(dc, context, false); + context_clock_trace(dc, context); +- +- for (j = 0; j < dc->res_pool->pipe_count; j++) { +- struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; +- +- dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx); +- } + } + + if (surface_count == 0) { +-- +2.7.4 + |