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
This commit is contained in:
parent
a2f8d98869
commit
dfd8b7fbd9
@ -2602,7 +2602,6 @@ bool dc_link_set_backlight_level(const struct dc_link *link,
|
|||||||
if (pipe_ctx->plane_state == NULL)
|
if (pipe_ctx->plane_state == NULL)
|
||||||
frame_ramp = 0;
|
frame_ramp = 0;
|
||||||
} else {
|
} else {
|
||||||
ASSERT(false);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user