diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1033-drm-amd-display-Don-t-spam-log-with-failed-validatio.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1033-drm-amd-display-Don-t-spam-log-with-failed-validatio.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1033-drm-amd-display-Don-t-spam-log-with-failed-validatio.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1033-drm-amd-display-Don-t-spam-log-with-failed-validatio.patch new file mode 100644 index 00000000..6eb3aa1b --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1033-drm-amd-display-Don-t-spam-log-with-failed-validatio.patch @@ -0,0 +1,44 @@ +From 895672e3768153d8f1e726a439dd7b34dd22b839 Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Mon, 28 Aug 2017 10:59:39 -0400 +Subject: [PATCH 1033/4131] drm/amd/display: Don't spam log with failed + validation + +In a lot of case we fail validation of timings for legitimate +reasons. No need to print an error. + +Change-Id: Ia5d4903debd4ab5856b0854d3d361e0811c36037 +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@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_resource.c | 5 ----- + 1 file changed, 5 deletions(-) + +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 3b8f380..8e60e83 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +@@ -2711,7 +2711,6 @@ void resource_build_bit_depth_reduction_params(struct dc_stream_state *stream, + bool dc_validate_stream(struct dc *dc, struct dc_stream_state *stream) + { + struct dc *core_dc = dc; +- struct dc_context *dc_ctx = core_dc->ctx; + struct dc_link *link = stream->sink->link; + struct timing_generator *tg = core_dc->res_pool->timing_generators[0]; + enum dc_status res = DC_OK; +@@ -2733,10 +2732,6 @@ bool dc_validate_stream(struct dc *dc, struct dc_stream_state *stream) + link, + &stream->timing); + +- if (res != DC_OK) +- DC_ERROR("Failed validation for stream %p, err:%d, !\n", +- stream, res); +- + return res == DC_OK; + } + +-- +2.7.4 + |