Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Melissa Wen <mwen@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1714dcc4c2c53e41190896eba263ed6328bcf415)

authored by

Melissa Wen and committed by
Alex Deucher
84962445 d25b32aa

-1
-1
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
··· 502 502 lut_params = &plane_state->in_shaper_func.pwl; 503 503 else if (plane_state->in_shaper_func.type == TF_TYPE_DISTRIBUTED_POINTS) { 504 504 // TODO: dpp_base replace 505 - ASSERT(false); 506 505 cm3_helper_translate_curve_to_hw_format(plane_state->ctx, 507 506 &plane_state->in_shaper_func, 508 507 &dpp_base->shaper_params, true);