Commit 84962445 authored by Melissa Wen's avatar Melissa Wen Committed by Alex Deucher
Browse files

drm/amd/display: remove assert around dpp_base replacement



There is nothing wrong if in_shaper_func type is DISTRIBUTED POINTS.
Remove the assert placed for a TODO to avoid misinterpretations.

Signed-off-by: default avatarMelissa Wen <mwen@igalia.com>
Reviewed-by: default avatarAlex Hung <alex.hung@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1714dcc4)
parent d25b32aa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -502,7 +502,6 @@ bool dcn32_set_mcm_luts(
		lut_params = &plane_state->in_shaper_func.pwl;
	else if (plane_state->in_shaper_func.type == TF_TYPE_DISTRIBUTED_POINTS) {
		// TODO: dpp_base replace
		ASSERT(false);
		cm3_helper_translate_curve_to_hw_format(plane_state->ctx,
							&plane_state->in_shaper_func,
							&dpp_base->shaper_params, true);