diff options
author | Zhan Liu <zhan.liu@amd.com> | 2021-07-08 00:51:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-08 17:47:28 -0400 |
commit | c5b53d128130b39371303a01fbbe1d7d6f519ca5 (patch) | |
tree | aba308f2c1e685720a90de56781e88f5ceef38e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 186c8a8585e1d3b4ca50a2ccf4a413d3ba7ff186 (diff) | |
download | linux-c5b53d128130b39371303a01fbbe1d7d6f519ca5.tar.gz linux-c5b53d128130b39371303a01fbbe1d7d6f519ca5.tar.bz2 linux-c5b53d128130b39371303a01fbbe1d7d6f519ca5.zip |
drm/amdgpu/display - only update eDP's backlight level when necessary
[Why]
The original logic is to update eDP's backlight level
on every amdgpu dm atomic commit, which causes excessive
DMUB write. As a result, when playing game or moving window
around, DMUB timeout and system lagging are observed.
[How]
We only need to update eDP's backlight level when current level
doesn't match requested level.
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions