Mario Kleiner
564d8a2cf3
drm/radeon: Fix eDP for single-display iMac10,1 (v2)
...
The late 2009, 27 inch Apple iMac10,1 has an
internal eDP display and an external Mini-
Displayport output, driven by a DCE-3.2, RV730
Radeon Mobility HD-4670.
The machine worked fine in a dual-display setup
with eDP panel + externally connected HDMI
or DVI-D digital display sink, connected via
MiniDP to DVI or HDMI adapter.
However, booting the machine single-display with
only eDP panel results in a completely black
display - even backlight powering off, as soon as
the radeon modesetting driver loads.
This patch fixes the single dispay eDP case by
assigning encoders based on dig->linkb, similar
to DCE-4+. While this should not be generally
necessary (Alex: "...atom on normal boards
should be able to handle any mapping."), Apple
seems to use some special routing here.
One remaining problem not solved by this patch
is that an external Minidisplayport->DP sink
does still not work on iMac10,1, whereas external
DVI and HDMI sinks continue to work.
The problem affects at least all tested kernels
since Linux 3.13 - didn't test earlier kernels, so
backporting to stable probably makes sense.
v2: With the original patch from 2016, Alex was worried it
will break other DCE3.2 systems. Use dmi_match() to
apply this special encoder assignment only for the
Apple iMac 10,1 from late 2009.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-07-07 11:11:28 -04:00
..
accessibility
acpi
ACPI / scan: Fix enumeration for special SPI and I2C devices
2017-06-21 23:14:55 +02:00
amba
android
ata
libata: fix error checking in in ata_parse_force_one()
2017-05-31 14:26:26 -04:00
atm
auxdisplay
base
Merge branches 'intel_pstate' and 'pm-sleep'
2017-06-09 01:25:16 +02:00
bcma
block
Merge branch 'stable/for-jens-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen into for-linus
2017-06-20 07:09:27 -06:00
bluetooth
bus
bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
2017-06-17 08:03:08 -04:00
cdrom
char
Fix some locking and gcc optimization issues from the most recent
2017-06-23 17:33:46 -07:00
clk
Allwinner clock fixes for 4.12
2017-06-14 16:48:03 -07:00
clocksource
clocksource: Explicitly include linux/clocksource.h when needed
2017-06-13 17:57:16 +02:00
connector
cpufreq
Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'pm-devfreq'
2017-06-15 01:51:33 +02:00
cpuidle
Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'pm-devfreq'
2017-06-15 01:51:33 +02:00
crypto
dax
device-dax: fix 'dax' device filesystem inode destruction crash
2017-06-09 08:50:49 -07:00
dca
devfreq
PM / devfreq: exynos-ppmu: Staticize event list
2017-06-12 10:12:07 +09:00
dio
dma
dmaengine: pl330: fix warning in pl330_remove
2017-06-02 11:49:44 +05:30
dma-buf
dma-buf/sync-file: Defer creation of sync_file->name
2017-05-24 13:08:29 -03:00
edac
eisa
extcon
firewire
firmware
Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
2017-06-16 17:13:06 +09:00
fmc
fpga
fsi
gpio
gpio: mvebu: change compatible string for PWM support
2017-06-20 13:42:20 +02:00
gpu
drm/radeon: Fix eDP for single-display iMac10,1 (v2)
2017-07-07 11:11:28 -04:00
hid
Merge branch 'for-4.12/upstream-fixes' into for-linus
2017-06-20 10:52:46 +02:00
hsi
hsi: Fix build regression due to netdev destructor fix.
2017-06-08 10:16:05 -04:00
hv
hwmon
hwmon: (aspeed-pwm-tacho) make fan/pwm names start with index 1
2017-06-03 03:55:43 -07:00
hwspinlock
hwtracing
i2c
i2c: imx: Use correct function to write to register
2017-06-22 10:52:02 +02:00
ide
idle
iio
iio: buffer-dmaengine: Add missing header buffer_impl.h
2017-06-13 20:56:05 +01:00
infiniband
Fixes #2 for 4.12-rc
2017-06-16 17:38:23 +09:00
input
Input: synaptics-rmi4 - only read the F54 query registers which are used
2017-06-23 00:08:48 -07:00
iommu
iommu/of: Ignore all errors except EPROBE_DEFER
2017-05-30 11:31:32 +02:00
ipack
irqchip
irqchip/mips-gic: Mark count and compare accessors notrace
2017-06-20 21:41:58 +02:00
isdn
mISDN: Fix a sleep-in-atomic bug
2017-06-01 14:49:47 -04:00
leds
LED fixes for 4.12-rc6
2017-06-18 08:51:35 +09:00
lguest
lightnvm
macintosh
mailbox
mcb
md
dm io: fix duplicate bio completion due to missing ref count
2017-06-21 12:04:50 -04:00
media
Linux 4.12-rc7
2017-06-27 08:28:30 +10:00
memory
Merge tag 'at91-4.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into fixes
2017-06-01 17:07:31 -07:00
memstick
message
mfd
mfd: arizona: Fix typo using hard-coded register
2017-06-06 10:17:42 +01:00
misc
Char/Misc driver fixes for 4.12-rc5
2017-06-11 11:29:15 -07:00
mmc
mmc: meson-gx: work around broken SDIO with certain WiFi chips
2017-06-12 08:58:16 +02:00
mtd
net
wireless-drivers fixes for 4.12
2017-06-20 15:41:56 -04:00
nfc
ntb
ntb: no sleep in ntb_async_tx_submit
2017-06-19 14:24:41 -04:00
nubus
nvdimm
nvme
nvme: relax APST default max latency to 100ms
2017-06-07 11:08:55 +02:00
nvmem
of
iommu/of: Ignore all errors except EPROBE_DEFER
2017-05-30 11:31:32 +02:00
oprofile
parisc
parport
pci
PCI: endpoint: Select CRC32 to fix test build error
2017-06-12 15:46:13 -05:00
pcmcia
perf
drivers/perf: arm_pmu_acpi: avoid perf IRQ init when guest PMU is off
2017-05-30 12:40:03 +01:00
phy
phy: qualcomm: phy-qcom-qmp: fix application of sizeof to pointer
2017-06-01 15:03:41 +05:30
pinctrl
pinctrl: stm32: Fix bad function call
2017-06-09 10:51:54 +02:00
platform
platform-drivers-x86 for v4.12-2
2017-06-16 17:30:44 +09:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
reset: hi6220: Set module license so that it can be loaded
2017-05-24 10:53:41 +02:00
rpmsg
rtc
s390
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-06-15 18:09:47 +09:00
sbus
scsi
SCSI fixes on 20170622
2017-06-23 12:25:37 -07:00
sfi
sh
sn
soc
spi
spmi
ssb
staging
Staging/IIO fixes for 4.12-rc6
2017-06-18 08:36:30 +09:00
target
iscsi-target: Reject immediate data underflow larger than SCSI transfer length
2017-06-08 22:25:29 -07:00
tc
tee
thermal
thermal: broadcom: ns-thermal: default on iProc SoCs
2017-05-23 20:09:34 -07:00
thunderbolt
tty
Revert "tty: fix port buffer locking"
2017-06-04 10:23:25 +02:00
uio
usb
USB fixes for 4.12-rc6
2017-06-18 08:39:54 +09:00
uwb
vfio
vhost
video
Linux 4.12-rc7
2017-06-27 08:28:30 +10:00
virt
virtio
virtio_balloon: disable VIOMMU support
2017-06-18 23:13:35 +03:00
vlynq
vme
w1
watchdog
xen
xen: fix for 4.12 rc5
2017-06-09 09:59:51 -07:00
zorro
Kconfig
Makefile