drm/amdgpu/display: don't assert in set backlight function
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Dec 2020 06:20:08 +0000 (01:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Mar 2021 21:11:23 +0000 (16:11 -0500)
It just spams the logs.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index fa5059f..bd01010 100644 (file)
@@ -2602,7 +2602,6 @@ bool dc_link_set_backlight_level(const struct dc_link *link,
                        if (pipe_ctx->plane_state == NULL)
                                frame_ramp = 0;
                } else {
-                       ASSERT(false);
                        return false;
                }