]> git.baikalelectronics.ru Git - kernel.git/commit
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:01:46 +0000 (15:01 -0500)
commit635d8dc79f6750c3ed2cf5a9180a6d68af3439ad
tree40daa7685988bb8ede5df0c1031eaa358406f2ec
parent55851e6e500b9b0bf9b1fba8259450116b9c9670
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_encoders.c