aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorDavid Francis <[email protected]>2018-11-06 16:06:04 +0000
committerAlex Deucher <[email protected]>2018-11-06 19:02:06 +0000
commit694d0775ca94beccfa8332d9284c1e8b6b19ad01 (patch)
tree3232fb6ef6c16231410ba68395514c33b11c8fea /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd: Update atom_smu_info_v3_3 structure (diff)
downloadkernel-694d0775ca94beccfa8332d9284c1e8b6b19ad01.tar.gz
kernel-694d0775ca94beccfa8332d9284c1e8b6b19ad01.zip
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 <[email protected]> Bugzilla: https://bugs.freedesktop.org/108668 Fixes: 416615ea9578 ("drm/amd/display: set backlight level limit to 1") Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions