mirror_ubuntu-kernels/drivers/gpu/drm/vc4
Phil Elwell db2b927f86
drm/vc4: hdmi: Disable audio if dmas property is present but empty
The dmas property is used to hold the dmaengine channel used for audio
output.

Older device trees were missing that property, so if it's not there we
disable the audio output entirely.

However, some overlays have set an empty value to that property, mostly
to workaround the fact that overlays cannot remove a property. Let's add
a test for that case and if it's empty, let's disable it as well.

Cc: <stable@vger.kernel.org>
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Link: https://lore.kernel.org/r/20220613144800.326124-18-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-06-28 14:55:41 +02:00
..
Kconfig Linux 5.18-rc5 2022-05-03 16:08:48 +10:00
Makefile
vc4_bo.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4_crtc.c drm/vc4: dsi: Correct pixel order for DSI0 2022-06-28 14:55:30 +02:00
vc4_debugfs.c drm/vc4: Leverage the load tracker on the BCM2711 2021-11-04 10:36:25 +01:00
vc4_dpi.c drm/vc4: dpi: Ensure a default format is selected 2022-06-28 14:55:19 +02:00
vc4_drv.c drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component 2022-06-28 14:54:45 +02:00
vc4_drv.h drm/vc4: hvs: Use pointer to HVS in HVS_READ and HVS_WRITE macros 2022-04-06 15:18:01 +02:00
vc4_dsi.c drm/vc4: dsi: Add correct stop condition to vc4_dsi_encoder_disable iteration 2022-06-28 14:55:38 +02:00
vc4_fence.c
vc4_gem.c drm/vc4: Use newer fence API properly to fix build errors 2022-04-07 15:26:06 +02:00
vc4_hdmi_phy.c drm/vc4: hdmi: Rename pixel_rate variable 2022-03-24 13:43:59 +01:00
vc4_hdmi_regs.h drm/vc4: hdmi: Support HDMI YUV output 2022-03-24 13:44:00 +01:00
vc4_hdmi.c drm/vc4: hdmi: Disable audio if dmas property is present but empty 2022-06-28 14:55:41 +02:00
vc4_hdmi.h drm/vc4: hdmi: Remove vc4_hdmi_encoder 2022-04-21 09:01:16 +02:00
vc4_hvs.c drm/vc4: hvs: Add debugfs node that dumps the current display lists 2022-06-28 14:55:11 +02:00
vc4_irq.c drm/vc4: add tracepoints for CL submissions 2022-03-17 15:12:25 +01:00
vc4_kms.c drm/vc4: kms: Use maximum FIFO load for the HVS clock rate 2022-06-28 14:54:56 +02:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: plane: Add alpha_blend_mode property to each plane. 2022-06-28 14:55:09 +02:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: drop unexpected word "the" in the comments 2022-06-22 09:22:55 +02:00
vc4_render_cl.c
vc4_trace_points.c
vc4_trace.h drm/vc4: add tracepoints for CL submissions 2022-03-17 15:12:25 +01:00
vc4_txp.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4_v3d.c drm/vc4: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
vc4_validate_shaders.c
vc4_validate.c
vc4_vec.c drm/vc4: Separate VEC compatible variants 2021-05-24 13:52:33 +02:00