]> 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)
commit8cfaa38548c48e78f57ccecb1a993847f3734517
treea6ef51bdc4c780ca8a5d3a418a51d1483ed5f872
parent2b519aa95e360ff4ca888e83837bcbacd0377f65
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