aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorZhan Liu <[email protected]>2021-07-08 00:51:52 -0400
committerAlex Deucher <[email protected]>2021-07-08 17:47:28 -0400
commitc5b53d128130b39371303a01fbbe1d7d6f519ca5 (patch)
treeaba308f2c1e685720a90de56781e88f5ceef38e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent186c8a8585e1d3b4ca50a2ccf4a413d3ba7ff186 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions