]> 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)
commit525b3ad090eaa997c02838100f28525e263bd084
tree8eb00ee0354ae6d68ad680473a526b6f68105826
parent54b03288d6219690b0e31843561c724cf87a5ae3
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 03f5f5ad88db ("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