summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2022-03-11 18:00:17 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-06 19:02:57 +0300
commit4052287a75eb3fc0f487fcc5f768a38bede455c8 (patch)
tree85888078a278c3d049164da834d9089dad0cd73b /tools/perf/scripts/python/stackcollapse.py
parentf4346fb3edf7720db3f7f5e1cab1f667cd024280 (diff)
downloadlinux-4052287a75eb3fc0f487fcc5f768a38bede455c8.tar.xz
amd/display: set backlight only if required
[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
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions