diff options
author | Shirish S <[email protected]> | 2022-03-11 20:30:17 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-31 23:05:54 -0400 |
commit | 8f3286942f80650b502532870d7558d206b72484 (patch) | |
tree | cc49ceb6c877d099cc5cb62ccad5658293e76117 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 6452c544fbab3030f81229d677c15b9e52d0d934 (diff) |
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 <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions