2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 09:03:59 +08:00
linux-next/drivers/gpu/drm/bridge
Daniel Kurtz fadfee3f9d drm/bridge: dw-hdmi: Restore audio when setting a mode
When setting a new display mode, dw_hdmi_setup() calls
dw_hdmi_enable_video_path(), which disables all hdmi clocks, including
the audio clock.

We should only (re-)enable the audio clock if audio was already enabled
when setting the new mode.

Without this patch, on RK3288, there will be HDMI audio on some monitors
if i2s was played to headphone when the monitor was plugged.
ACER H277HU and ASUS PB278 are two of the monitors showing this issue.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008102145.55134-1-cychiang@chromium.org
2019-10-15 09:48:52 +02:00
..
adv7511 drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
analogix drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
synopsys drm/bridge: dw-hdmi: Restore audio when setting a mode 2019-10-15 09:48:52 +02:00
analogix-anx78xx.c drm/bridge: analogix-anx78xx: add support for 7808 addresses 2019-10-10 11:24:11 +02:00
analogix-anx78xx.h drm/bridge: analogix-anx78xx: add support for 7808 addresses 2019-10-10 11:24:11 +02:00
cdns-dsi.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
dumb-vga-dac.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
Kconfig drm/bridge: sil_sii8620: make remote control optional. 2019-10-10 10:42:15 +02:00
lvds-encoder.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
Makefile drm/bridge: tc358764: Add DSI to LVDS bridge driver 2018-07-27 09:09:57 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
nxp-ptn3460.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
panel.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
parade-ps8622.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
sii902x.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
sii9234.c gpu: drm: bridge: sii9234: convert to devm_i2c_new_dummy_device 2019-10-10 08:57:27 +02:00
sil-sii8620.c drm/bridge: sil_sii8620: make remote control optional. 2019-10-10 10:42:15 +02:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc358764.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
tc358767.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
thc63lvd1024.c R-Car DU changes for v5.3: 2019-06-11 10:08:49 +02:00
ti-sn65dsi86.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
ti-tfp410.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00