summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2022-03-11 20:30:17 +0530
committerAlex Deucher <alexander.deucher@amd.com>2022-03-31 23:05:54 -0400
commit8f3286942f80650b502532870d7558d206b72484 (patch)
treecc49ceb6c877d099cc5cb62ccad5658293e76117 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parent6452c544fbab3030f81229d677c15b9e52d0d934 (diff)
downloadlinux-8f3286942f80650b502532870d7558d206b72484.tar.gz
linux-8f3286942f80650b502532870d7558d206b72484.tar.bz2
linux-8f3286942f80650b502532870d7558d206b72484.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions