]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu_acpi: add backlight control for the DC case
authorAndriy Gapon <avg@FreeBSD.org>
Tue, 5 May 2020 13:27:29 +0000 (16:27 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:12:55 +0000 (13:12 -0400)
commitf31d918fd6166a10dd7a8c08bec5837e5afb02ba
tree3bd417fac701d782551f45f8380f971f7c8a84ec
parent1ebc3c25c12f0681f9c5ed9039f69545107908dd
amdgpu_acpi: add backlight control for the DC case

This uses backlight_device_set_brightness() to set the brightness
level requested via ATIF.

Signed-off-by: Andriy Gapon <avg@FreeBSD.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c