linux_dsm_epyc7002/drivers/gpu/drm/bridge
Neil Armstrong c32048d9e9 drm/bridge/synopsys: dw-hdmi: fix dw_hdmi_setup_rx_sense
The dw_hdmi_setup_rx_sense exported function should not use struct device
to recover the dw-hdmi context using drvdata, but take struct dw_hdmi
directly like other exported functions.

This caused a regression using Meson DRM on S905X since v4.17-rc1 :

Internal error: Oops: 96000007 [#1] PREEMPT SMP
[...]
CPU: 0 PID: 124 Comm: irq/32-dw_hdmi_ Not tainted 4.17.0-rc7 #2
Hardware name: Libre Technology CC (DT)
[...]
pc : osq_lock+0x54/0x188
lr : __mutex_lock.isra.0+0x74/0x530
[...]
Process irq/32-dw_hdmi_ (pid: 124, stack limit = 0x00000000adf418cb)
Call trace:
  osq_lock+0x54/0x188
  __mutex_lock_slowpath+0x10/0x18
  mutex_lock+0x30/0x38
  __dw_hdmi_setup_rx_sense+0x28/0x98
  dw_hdmi_setup_rx_sense+0x10/0x18
  dw_hdmi_top_thread_irq+0x2c/0x50
  irq_thread_fn+0x28/0x68
  irq_thread+0x10c/0x1a0
  kthread+0x128/0x130
  ret_from_fork+0x10/0x18
 Code: 34000964 d00050a2 51000484 9135c042 (f864d844)
 ---[ end trace 945641e1fbbc07da ]---
 note: irq/32-dw_hdmi_[124] exited with preempt_count 1
 genirq: exiting task "irq/32-dw_hdmi_" (124) is an active IRQ thread (irq 32)

Fixes: eea034af90 ("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1527673438-20643-1-git-send-email-narmstrong@baylibre.com
2018-05-30 13:42:39 -04:00
..
adv7511 drm/bridge: adv7511/33: Fix adv7511_cec_init() failure handling 2017-11-30 10:37:11 +05:30
analogix drm/bridge: analogix_dp: Only wait for panel ACK on PSR entry 2018-03-14 12:24:50 +01:00
synopsys drm/bridge/synopsys: dw-hdmi: fix dw_hdmi_setup_rx_sense 2018-05-30 13:42:39 -04:00
analogix-anx78xx.c drm/bridge: analogix-anx78xx: Remove duplicate NULL check 2018-01-18 16:24:29 +02:00
analogix-anx78xx.h
dumb-vga-dac.c drm/bridge: vga-dac: Fix edid memory leak 2018-05-02 15:09:21 -04:00
Kconfig drm/bridge/sii8620: add Kconfig dependency on extcon 2018-05-07 10:19:12 -04:00
lvds-encoder.c drm/bridge: Fix lvds-encoder since the panel_bridge rework. 2017-11-30 11:03:45 +05:30
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
megachips-stdpxxxx-ge-b850v3-fw.c
nxp-ptn3460.c
panel.c drm/bridge: make drm_panel_bridge_remove more robust 2017-10-10 11:32:35 +02:00
parade-ps8622.c
sii902x.c drm/bridge: sii902x: Retry status read after DDI I2C 2018-03-07 22:48:19 +01:00
sii9234.c drm/bridge: add Silicon Image SiI9234 driver 2017-10-06 14:28:22 +02:00
sil-sii8620.c drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL 2018-03-12 10:18:26 +09:00
sil-sii8620.h
tc358767.c Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
ti-tfp410.c