summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorZhan Liu <zhan.liu@amd.com>2021-07-08 00:51:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-07-13 11:58:30 -0400
commitc010efb7f0bc0c3cb2cd26b000f71d4bd0c427cd (patch)
treec11d472786c9b7b5dda312b229dc0cf3737b4b57 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent5017bf8214d929f6ff45c46ec21cd3c1bfc03dad (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 <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