]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Fix eDP for single-display iMac11,2
authorMark Hawrylak <mark.hawrylak@gmail.com>
Sun, 19 Feb 2023 05:02:00 +0000 (16:02 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:44:07 +0000 (16:44 +0100)
commit6b45bf187d877716e501a56eb303fa871b437536
tree8eb00ee0354ae6d68ad680473a526b6f68105826
parent7b4a0b0bb5d992490e120c7eaa9f6d15ba401d9f
drm/radeon: Fix eDP for single-display iMac11,2

commit 05eacc198c68cbb35a7281ce4011f8899ee1cfb8 upstream.

Apple iMac11,2 (mid 2010) also with Radeon HD-4670 that has the same
issue as iMac10,1 (late 2009) where the internal eDP panel stays dark on
driver load.  This patch treats iMac11,2 the same as iMac10,1,
so the eDP panel stays active.

Additional steps:
Kernel boot parameter radeon.nomodeset=0 required to keep the eDP
panel active.

This patch is an extension of
commit 52abb00228f6 ("drm/radeon: Fix eDP for single-display iMac10,1 (v2)")
Link: https://lore.kernel.org/all/lsq.1507553064.833262317@decadent.org.uk/
Signed-off-by: Mark Hawrylak <mark.hawrylak@gmail.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