Skip to content

Commit 5b08c30

Browse files
povikjannau
authored andcommitted
gpu: drm: apple: Add DCP audio driver
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
1 parent 33fd23c commit 5b08c30

4 files changed

Lines changed: 737 additions & 0 deletions

File tree

drivers/gpu/drm/apple/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ config DRM_APPLE_AUDIO
1818
depends on DRM_APPLE
1919
depends on SND
2020
select SND_PCM
21+
select SND_DMAENGINE_PCM
2122

2223
config DRM_APPLE_DEBUG
2324
bool "Enable additional driver debugging"

drivers/gpu/drm/apple/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ apple_dcp-y += iomfb_v12_3.o
1212
apple_dcp-y += iomfb_v13_3.o
1313
apple_dcp-$(CONFIG_TRACING) += trace.o
1414

15+
apple_dcp_audio-y := audio.o
1516

1617
obj-$(CONFIG_DRM_APPLE) += appledrm.o
1718
obj-$(CONFIG_DRM_APPLE) += apple_dcp.o
19+
ifeq ($(CONFIG_DRM_APPLE_AUDIO),y)
20+
obj-$(CONFIG_DRM_APPLE) += apple_dcp_audio.o
21+
endif
1822

1923
# header test
2024

2125
# exclude some broken headers from the test coverage
2226
no-header-test := \
27+
hdmi-codec-chmap.h
2328

2429
always-y += \
2530
$(patsubst %.h,%.hdrtest, $(filter-out $(no-header-test), \

0 commit comments

Comments
 (0)