Skip to content

Commit 933ebbe

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

4 files changed

Lines changed: 734 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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ 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

0 commit comments

Comments
 (0)