diff options
author | David Francis <David.Francis@amd.com> | 2018-11-06 11:06:04 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-06 14:02:06 -0500 |
commit | 694d0775ca94beccfa8332d9284c1e8b6b19ad01 (patch) | |
tree | 3232fb6ef6c16231410ba68395514c33b11c8fea /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | 45cf8c23f3564e3f39ae09b70b9dff24acae4a56 (diff) | |
download | linux-694d0775ca94beccfa8332d9284c1e8b6b19ad01.tar.bz2 |
drm/amd: Don't fail on backlight = 0
Amgpu's backlight update status function was
returning 1 (an error value) when the backlight
property was 0. This breaks users that assume
0 is a valid backlight value (which is a
correct assumption)
If the user passes in a backlight value of 0,
tell them everything is fine, then write a value of
1 to hardware.
Signed-off-by: David Francis <David.Francis@amd.com>
Bugzilla: https://bugs.freedesktop.org/108668
Fixes: 416615ea9578 ("drm/amd/display: set backlight level limit to 1")
Cc: Suresh.Guttula@amd.com
Cc: Harry.Wentland@amd.com
Cc: Samantham@posteo.net
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions