Commit 47e37b57 authored by Nicholas Bishop's avatar Nicholas Bishop Committed by Alex Deucher
Browse files

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: drm/amd#1838

Signed-off-by: Nicholas Bishop's avatarNicholas Bishop <nicholasbishop@google.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 27176567
......@@ -198,7 +198,8 @@ void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder,
* so don't register a backlight device
*/
if ((rdev->pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE) &&
(rdev->pdev->device == 0x6741))
(rdev->pdev->device == 0x6741) &&
!dmi_match(DMI_PRODUCT_NAME, "iMac12,1"))
return;
if (!radeon_encoder->enc_priv)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment