OpenCloudOS-Kernel/drivers/gpu/drm/vc4
Nicolas Saenz Julienne 33c74535b0
drm/vc4: Unify PCM card's driver_name
User-space ALSA matches a card's driver name against an internal list of
aliases in order to select the correct configuration for the system.
When the driver name isn't defined, the match is performed against the
card's name.

With the introduction of RPi4 we now have two HDMI ports with two
distinct audio cards. This is reflected in their names, making them
different from previous RPi versions. With this, ALSA ultimately misses
the board's configuration on RPi4.

In order to avoid this, set "card->driver_name" to "vc4-hdmi"
unanimously.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Fixes: f437bc1ec7 ("drm/vc4: drv: Support BCM2711")
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115191209.12852-1-nsaenzjulienne@suse.de
2021-01-18 11:03:59 +01:00
..
Kconfig drm/vc4: Fix Kconfig indentation 2019-11-25 10:04:41 +01:00
Makefile drm/vc4: hdmi: Add PHY init and disable function 2020-09-07 18:06:04 +02:00
vc4_bo.c drm: fix some kernel-doc markups 2020-11-16 20:48:20 +01:00
vc4_crtc.c drm: Use the state pointer directly in atomic_check 2020-11-03 12:20:09 +01:00
vc4_debugfs.c drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers 2020-11-18 11:51:58 +01:00
vc4_dpi.c drm/vc4: Use simple encoder 2020-04-02 14:16:45 +02:00
vc4_drv.c Linux 5.10-rc3 2020-11-10 14:36:36 +01:00
vc4_drv.h drm for 5.11-rc1 2020-12-14 11:07:56 -08:00
vc4_dsi.c drm/vc4: dsi: Only register our component once a DSI device is attached 2020-10-22 16:49:43 +02:00
vc4_fence.c
vc4_gem.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_hdmi.c drm/vc4: Unify PCM card's driver_name 2021-01-18 11:03:59 +01:00
vc4_hdmi.h drm/vc4: hdmi: Disable Wifi Frequencies 2020-11-19 15:46:08 +01:00
vc4_hdmi_phy.c drm/vc4: hdmi: Support the BCM2711 HDMI controllers 2020-09-07 18:14:54 +02:00
vc4_hdmi_regs.h drm/vc4/vc4_hdmi_regs: Mark some data sets as __maybe_unused 2020-11-18 11:51:57 +01:00
vc4_hvs.c Linux 5.10-rc3 2020-11-10 14:36:36 +01:00
vc4_irq.c drm/vc4: Allocate binner bo when starting to use the V3D 2019-05-23 17:32:21 +02:00
vc4_kms.c drm/vc4: kms: Don't disable the muxing of an active CRTC 2020-11-23 17:59:30 +01:00
vc4_packet.h
vc4_perfmon.c drm/vc4: replace idr_init() by idr_init_base() 2020-11-06 11:48:43 +01:00
vc4_plane.c drm/vc4: Handing the return value of drm_universal_plane_init 2020-09-16 04:48:37 -04:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: hdmi: Support the BCM2711 HDMI controllers 2020-09-07 18:14:54 +02:00
vc4_render_cl.c drm/vc4: Make sure to emit a tile coordinates between two MSAA loads. 2019-04-01 09:33:38 -07:00
vc4_trace.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vc4_trace_points.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vc4_txp.c drm: Pass the full state to connectors atomic functions 2020-11-20 12:23:53 +01:00
vc4_v3d.c drm/vc4/vc4_v3d: Demote non-conformant kernel-doc headers 2020-11-18 11:51:58 +01:00
vc4_validate.c
vc4_validate_shaders.c
vc4_vec.c drm/vc4: Use simple encoder 2020-04-02 14:16:45 +02:00