OSDN Git Service

drm/radeon: Fix backlight control on iMac 12,1
authorNicholas Bishop <nicholasbishop@google.com>
Fri, 11 Feb 2022 19:57:39 +0000 (14:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Feb 2022 20:08:41 +0000 (15:08 -0500)
commitdcb0bd00586bb991eae66a23091e037c2734f8fe
tree36bc8bc9f8ef547d5de56d0f15fa9418999e1637
parent3b853c316c9321e195414a6fb121d1c2d45b1e87
drm/radeon: Fix backlight control on iMac 12,1

The iMac 12,1 does not use the gmux driver for backlight, so the radeon
backlight device is needed to set the brightness.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1838
Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_encoders.c