]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: remove assert around dpp_base replacement
authorMelissa Wen <mwen@igalia.com>
Fri, 16 Jan 2026 15:50:49 +0000 (12:50 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Feb 2026 22:21:58 +0000 (17:21 -0500)
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)

drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c

index 49cc0f8d57b5afaf9052bb7168d5fa1340ac735a..be1f3caf4096fec5f00dccb155fb3910f153bc20 100644 (file)
@@ -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);