diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4701-drm-amd-display-Remove-redundant-call.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4701-drm-amd-display-Remove-redundant-call.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4701-drm-amd-display-Remove-redundant-call.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4701-drm-amd-display-Remove-redundant-call.patch new file mode 100644 index 00000000..d4239504 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/4701-drm-amd-display-Remove-redundant-call.patch @@ -0,0 +1,38 @@ +From b16e3871c5e322e23ec7ef4a669eea2ed83acb4d Mon Sep 17 00:00:00 2001 +From: Noah Abradjian <noah.abradjian@amd.com> +Date: Wed, 13 Nov 2019 17:06:40 -0500 +Subject: [PATCH 4701/4736] drm/amd/display: Remove redundant call + +[Why] +I was advised that we don't need this call of program_front_end, as +earlier and later calls in the same sequence are sufficient. + +[How] +Remove first call of program_front_end in dc_commit_state_no_check. + +Change-Id: I4a552fdd06c05a4c0ffa243c59f99b45c06a1fdd +Signed-off-by: Noah Abradjian <noah.abradjian@amd.com> +Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> +Acked-by: Leo Li <sunpeng.li@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c +index 97da6384348a..0c75ee6bbdf2 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c +@@ -1178,10 +1178,6 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c + context->stream_status[i].plane_count, + context); /* use new pipe config in new context */ + } +-#if defined(CONFIG_DRM_AMD_DC_DCN2_0) +- if (dc->hwss.program_front_end_for_ctx) +- dc->hwss.program_front_end_for_ctx(dc, context); +-#endif + + /* Program hardware */ + for (i = 0; i < dc->res_pool->pipe_count; i++) { +-- +2.17.1 + |