drm/amd/display: Implement support for backlight optimization
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 4 May 2017 18:09:09 +0000 (14:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:59 +0000 (18:06 -0400)
commitfe626734711b5f402fca9df5d33cb0663b6c2fe5
tree1e6cf58a866a409cdd1c5dbebfbc4edca209aa01
parentc0ba5ec70eff5cf0e4337b3864c94fa6b128c8d7
drm/amd/display: Implement support for backlight optimization

- Add functionality to get real hw backlight level as opposed to user
level, meaning the level that takes into account backlight ramping
over time and backlight reduction due to Varibright
- Add backlight optimization which allows for a second OS state
that is able to control ABM

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
drivers/gpu/drm/amd/display/dc/inc/hw/abm.h