summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-12-10 09:20:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-11 00:11:23 +0300
commitdfd8b7fbd985ec1cf76fe10f2875a50b10833740 (patch)
tree954f958f8f3da1d1db6127c2738c1ddc660a9c4b /drivers/gpu
parenta2f8d988698d7d3645b045f4940415b045140b81 (diff)
downloadlinux-dfd8b7fbd985ec1cf76fe10f2875a50b10833740.tar.xz
drm/amdgpu/display: don't assert in set backlight function
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
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index fa5059f71727..bd0101013ec8 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -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;
}