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)
commitbcb7b0ef828c21a0b629d6081c0827e71574d652
tree3bd417fac701d782551f45f8380f971f7c8a84ec
parenta2eb03a569f7482da3bed651424606da7b960bf8
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