]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add switch for Fractional PWM on or off
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 28 Mar 2019 16:39:48 +0000 (12:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2019 05:19:16 +0000 (00:19 -0500)
commit1af130b6234d2f2174ac0b679f7178789d3af5bb
treea6ef51bdc4c780ca8a5d3a418a51d1483ed5f872
parentc082bbc7a53a6c92431a8e9fb93f79e3cfd14950
drm/amd/display: Add switch for Fractional PWM on or off

[Why]
Some LED Driver might not like Fractional PWM especially at extreme
ranges near 0% or 100%.
For example, backlight flashing could be observed.
We want a way to switch fractional PWM on/off either for debug, or
possibly production.

[How]
Add DC code that can send new FW command to enable/disable
fractional PWM.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c