mirror-linux/drivers/gpu/drm/radeon
Mark Hawrylak 8551ddbff0 drm/radeon: Fix eDP for single-display iMac11,2
commit 05eacc198c 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 564d8a2cf3 ("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>
2023-03-10 09:34:33 +01:00
..
reg_srcs
.gitignore drm/radeon: fix incorrrect SPDX-License-Identifiers 2022-06-21 17:54:53 -04:00
Kconfig drm/radeon: fix incorrrect SPDX-License-Identifiers 2022-06-21 17:54:53 -04:00
Makefile drm/radeon: Drop legacy MST support 2022-08-23 16:53:43 -04:00
ObjectID.h
atom-bits.h
atom-names.h
atom-types.h
atom.c drm: Convert open-coded yes/no strings to yesno() 2022-02-07 13:04:25 -08:00
atom.h
atombios.h gpu/drm/radeon: Fix spelling typo in comments 2022-05-04 09:53:30 -04:00
atombios_crtc.c drm/radeon: Drop legacy MST support 2022-08-23 16:53:43 -04:00
atombios_dp.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
atombios_encoders.c drm/radeon: Fix eDP for single-display iMac11,2 2023-03-10 09:34:33 +01:00
atombios_i2c.c
avivod.h
btc_dpm.c
btc_dpm.h
btcd.h
cayman_blit_shaders.h drm/radeon: change cayman_default_state table from global to static 2022-04-11 13:50:35 -04:00
ci_dpm.c drm/radeon/ci_dpm: Remove the unneeded result variable 2022-09-13 14:32:58 -04:00
ci_dpm.h
ci_smc.c
cik.c drm/radeon: fix UVD suspend error 2022-01-18 17:43:36 -05:00
cik.h
cik_blit_shaders.h drm/radeon: change cik_default_state table from global to static 2022-04-26 11:43:51 -04:00
cik_reg.h
cik_sdma.c
cikd.h
clearstate_cayman.h
clearstate_ci.h
clearstate_defs.h
clearstate_evergreen.h
clearstate_si.h
cypress_dpm.c
cypress_dpm.h
dce3_1_afmt.c
dce6_afmt.c
dce6_afmt.h
evergreen.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
evergreen.h
evergreen_blit_shaders.h drm/radeon/kms: change evergreen_default_state table from global to static 2022-04-19 13:58:32 -04:00
evergreen_cs.c
evergreen_dma.c
evergreen_hdmi.c
evergreen_hdmi.h
evergreen_reg.h
evergreen_smc.h
evergreend.h
kv_dpm.c
kv_dpm.h
kv_smc.c
mkregtable.c
ni.c drm/radeon: fix UVD suspend error 2022-01-18 17:43:36 -05:00
ni.h
ni_dma.c
ni_dpm.c drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers() 2022-06-06 14:43:41 -04:00
ni_dpm.h
ni_reg.h
nid.h
nislands_smc.h
ppsmc.h
pptable.h
r100.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
r100_track.h
r100d.h
r200.c
r300.c
r300_reg.h gpu/drm/radeon: Fix typo in comments 2022-06-23 17:21:49 -04:00
r300d.h
r420.c
r420d.h
r500_reg.h
r520.c
r520d.h
r600.c drm/radeon: fix UVD suspend error 2022-01-18 17:43:36 -05:00
r600.h
r600_cs.c drm/radeon/r600_cs: remove r600_cs_legacy_get_tiling_conf() declaration 2022-09-13 14:52:14 -04:00
r600_dma.c
r600_dpm.c drm/radeon: make array encoded_lanes static 2021-09-23 15:17:28 -04:00
r600_dpm.h
r600_hdmi.c
r600_reg.h
r600d.h
radeon.h drm/radeon: remove unused declarations for radeon 2022-09-13 14:52:19 -04:00
radeon_acpi.c drm/radeon: Drop CONFIG_BACKLIGHT_CLASS_DEVICE ifdefs 2022-06-21 18:17:24 -04:00
radeon_acpi.h
radeon_agp.c
radeon_asic.c
radeon_asic.h
radeon_atombios.c drm/radeon: Drop legacy MST support 2022-08-23 16:53:43 -04:00
radeon_atombios.h
radeon_atpx_handler.c
radeon_audio.c
radeon_audio.h
radeon_benchmark.c
radeon_bios.c drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios() 2022-12-31 13:32:19 +01:00
radeon_clocks.c
radeon_combios.c
radeon_connectors.c drm/radeon: Drop legacy MST support 2022-08-23 16:53:43 -04:00
radeon_cs.c dma-buf/drivers: make reserving a shared slot mandatory v4 2022-04-06 17:38:25 +02:00
radeon_cursor.c
radeon_device.c drm/radeon: free iio for atombios when driver shutdown 2023-03-10 09:33:55 +01:00
radeon_device.h
radeon_display.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
radeon_dp_auxch.c
radeon_drv.c drm/radeon: Remove the unneeded result variable 2022-09-13 14:32:58 -04:00
radeon_drv.h
radeon_encoders.c Immutable backlight-detect-refactor branch between acpi, drm-* and pdx86 2022-09-14 12:27:10 +01:00
radeon_family.h
radeon_fb.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
radeon_fence.c Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
radeon_gart.c
radeon_gem.c drm/radeon: Fix comment typo 2022-07-25 09:31:02 -04:00
radeon_i2c.c
radeon_ib.c
radeon_irq_kms.c drm/radeon: Drop legacy MST support 2022-08-23 16:53:43 -04:00
radeon_kms.c drm/radeon: remove resource accounting v2 2022-02-15 17:51:09 +01:00
radeon_kms.h drm/radeon: Convert to Linux IRQ interfaces 2021-08-10 20:13:49 +02:00
radeon_legacy_crtc.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
radeon_legacy_encoders.c drm/radeon: Don't register backlight when another backlight should be used (v3) 2022-08-25 10:56:20 +02:00
radeon_legacy_encoders.h
radeon_legacy_tv.c
radeon_mn.c dma-buf: add DMA_RESV_USAGE_BOOKKEEP v3 2022-04-07 12:53:54 +02:00
radeon_mode.h drm/radeon: remove unused declarations for radeon 2022-09-13 14:52:19 -04:00
radeon_object.c drm/ttm: rename and cleanup ttm_bo_init 2022-07-11 10:53:13 +02:00
radeon_object.h drm/radeon: remove resource accounting v2 2022-02-15 17:51:09 +01:00
radeon_pm.c drm/radeon: use time_after(a,b) to replace "a>b" 2022-08-25 13:35:18 -04:00
radeon_pm.h
radeon_prime.c dma-buf: wait for map to complete for static attachments 2022-04-07 12:53:54 +02:00
radeon_prime.h
radeon_reg.h
radeon_ring.c
radeon_sa.c drm/radeon: Initialize fences array entries in radeon_sa_bo_next_hole 2022-06-08 11:41:09 -04:00
radeon_semaphore.c
radeon_sync.c Linux 5.18-rc5 2022-05-03 16:08:48 +10:00
radeon_test.c
radeon_trace.h
radeon_trace_points.c
radeon_ttm.c drm/radeon: Use TTM builtin resource manager debugfs code 2022-04-20 21:06:02 -04:00
radeon_ttm.h
radeon_ucode.c
radeon_ucode.h
radeon_uvd.c drm/radeon: use DMA_RESV_USAGE_KERNEL 2022-04-07 12:53:54 +02:00
radeon_vce.c drm/radeon: Fix syntax errors in comments 2021-12-14 16:11:02 -05:00
radeon_vm.c dma-buf/drivers: make reserving a shared slot mandatory v4 2022-04-06 17:38:25 +02:00
rs100d.h
rs400.c
rs400d.h
rs600.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
rs600d.h
rs690.c
rs690d.h
rs780_dpm.c
rs780_dpm.h
rs780d.h
rv6xx_dpm.c
rv6xx_dpm.h
rv6xxd.h
rv200d.h
rv250d.h
rv350d.h
rv515.c
rv515d.h
rv730_dpm.c
rv730d.h
rv740_dpm.c
rv740d.h
rv770.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
rv770.h
rv770_dma.c
rv770_dpm.c
rv770_dpm.h
rv770_smc.c
rv770_smc.h
rv770d.h
si.c drm/radeon: fix UVD suspend error 2022-01-18 17:43:36 -05:00
si.h
si_blit_shaders.h drm/radeon: change si_default_state table from global to static 2022-04-06 10:20:25 -04:00
si_dma.c
si_dpm.c drm/radeon: change cac_weights_* to static 2022-04-26 11:43:57 -04:00
si_dpm.h
si_reg.h
si_smc.c
sid.h
sislands_smc.h
smu7.h
smu7_discrete.h
smu7_fusion.h
sumo_dpm.c
sumo_dpm.h
sumo_smc.c
sumod.h
trinity_dpm.c
trinity_dpm.h
trinity_smc.c
trinityd.h
uvd_v1_0.c
uvd_v2_2.c
uvd_v3_1.c
uvd_v4_2.c
vce.h
vce_v1_0.c
vce_v2_0.c