]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add backlight support via AUX
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Fri, 24 Jan 2020 15:44:20 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:50:06 +0000 (11:50 -0500)
commita90452336e08ac8c967e6b156c6b714428ea32a8
treeefa11c2b87520f2de200ae317656f78e5e1d37fd
parent86370aa28a14525d0668d14a0667401c0ba10906
drm/amd/display: Add backlight support via AUX

Several modern displays support HDR/OLED panel, and one of the
interesting changes provided by this technology is the new approach for
handling backlight. More precisely, in the traditional way, we use PWM
to manage display backlight; however, with HDR/OLED we begin to use DP
Aux channel for adjusting the backlight.

This patch, enable the backlight control in HDR/OLED display via DP Aux.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h