diff options
author | Shirish S <shirish.s@amd.com> | 2022-03-11 18:00:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-13 21:59:24 +0300 |
commit | a551e6629247dc84f8cea5d494542c532ea69161 (patch) | |
tree | d96402a0b0f93a82db26aa4ebe6705f92f307a80 /net | |
parent | 2388f826cdc9af2651991adc0feb79de9bdf2232 (diff) | |
download | linux-a551e6629247dc84f8cea5d494542c532ea69161.tar.xz |
amd/display: set backlight only if required
commit 4052287a75eb3fc0f487fcc5f768a38bede455c8 upstream.
[Why]
comparing pwm bl values (coverted) with user brightness(converted)
levels in commit_tail leads to continuous setting of backlight via dmub
as they don't to match.
This leads overdrive in queuing of commands to DMCU that sometimes lead
to depending on load on DMCU fw:
"[drm:dc_dmub_srv_wait_idle] *ERROR* Error waiting for DMUB idle: status=3"
[How]
Store last successfully set backlight value and compare with it instead
of pwm reads which is not what we should compare with.
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions