diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/2817-drm-amd-display-Revert-noisy-assert-messages.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/2817-drm-amd-display-Revert-noisy-assert-messages.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/2817-drm-amd-display-Revert-noisy-assert-messages.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/2817-drm-amd-display-Revert-noisy-assert-messages.patch new file mode 100644 index 00000000..05c2a9fe --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/2817-drm-amd-display-Revert-noisy-assert-messages.patch @@ -0,0 +1,34 @@ +From 5c572c788df408d548bc4aac8d48b787ae2c5dc4 Mon Sep 17 00:00:00 2001 +From: Jordan Lazare <Jordan.Lazare@amd.com> +Date: Mon, 13 Nov 2017 17:57:33 -0400 +Subject: [PATCH 2817/4131] drm/amd/display: Revert noisy assert messages + +This partially reverts +commit 4fb48bb66211 ("dc: fix split viewport rounding error"). + +Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> +Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +index d14fefa..a4fbca3 100644 +--- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ++++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +@@ -878,10 +878,6 @@ bool dcn_validate_bandwidth( + + pipe->bottom_pipe->plane_res.scl_data.recout.width; + } + +- ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dal_fixed31_32_one.value +- || v->scaler_rec_out_width[input_idx] == v->viewport_width[input_idx]); +- ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dal_fixed31_32_one.value +- || v->scaler_recout_height[input_idx] == v->viewport_height[input_idx]); + v->dcc_enable[input_idx] = pipe->plane_state->dcc.enable ? dcn_bw_yes : dcn_bw_no; + v->source_pixel_format[input_idx] = tl_pixel_format_to_bw_defs( + pipe->plane_state->format); +-- +2.7.4 + |