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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Feb 2022 11:01:01 +0000 (12:01 +0100)
commit5564d83ebc1b91537a7fc92c8e19b8c1a29caa9d
tree943cdd34ac81a131b310b228186c019309ef222b
parent008508c16af0087cda0394e1ac6f0493b01b6063
drm/radeon: Fix backlight control on iMac 12,1

commit 364438fd629f7611a84c8e6d7de91659300f1502 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_encoders.c