Skip to content

Commit 59f0cd9

Browse files
committed
Merge branch 'bits/200-dcp' into asahi-wip
2 parents d67a6ba + b2287e0 commit 59f0cd9

49 files changed

Lines changed: 12737 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,13 @@ L: linux-input@vger.kernel.org
18841884
S: Odd fixes
18851885
F: drivers/input/mouse/bcm5974.c
18861886

1887+
APPLE DRM DISPLAY DRIVER
1888+
M: Janne Grunau <j@jannau.net>
1889+
L: dri-devel@lists.freedesktop.org
1890+
S: Maintained
1891+
T: git git://anongit.freedesktop.org/drm/drm-misc
1892+
F: drivers/gpu/drm/apple/
1893+
18871894
APPLE PCIE CONTROLLER DRIVER
18881895
M: Marc Zyngier <maz@kernel.org>
18891896
L: linux-pci@vger.kernel.org

drivers/gpu/drm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ source "drivers/gpu/drm/solomon/Kconfig"
394394

395395
source "drivers/gpu/drm/sprd/Kconfig"
396396

397+
source "drivers/gpu/drm/apple/Kconfig"
398+
397399
source "drivers/gpu/drm/imagination/Kconfig"
398400

399401
source "drivers/gpu/drm/tyr/Kconfig"

drivers/gpu/drm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ obj-$(CONFIG_DRM_LIMA) += lima/
226226
obj-$(CONFIG_DRM_PANFROST) += panfrost/
227227
obj-$(CONFIG_DRM_PANTHOR) += panthor/
228228
obj-$(CONFIG_DRM_TYR) += tyr/
229+
obj-$(CONFIG_DRM_APPLE) += apple/
229230
obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
230231
obj-$(CONFIG_DRM_MCDE) += mcde/
231232
obj-$(CONFIG_DRM_TIDSS) += tidss/

drivers/gpu/drm/apple/Kconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR MIT
2+
config DRM_APPLE
3+
tristate "DRM Support for Apple display controllers"
4+
depends on DRM && OF && ARM64
5+
depends on ARCH_APPLE || COMPILE_TEST
6+
depends on APPLE_RTKIT
7+
depends on OF_ADDRESS
8+
select DRM_CLIENT_SELECTION
9+
select DRM_KMS_HELPER
10+
select DRM_KMS_DMA_HELPER
11+
select DRM_GEM_DMA_HELPER
12+
select VIDEOMODE_HELPERS
13+
select BACKLIGHT_CLASS_DEVICE
14+
select MULTIPLEXER
15+
help
16+
Say Y if you have an Apple Silicon chipset.
17+
18+
config DRM_APPLE_AUDIO
19+
bool "DisplayPort/HDMI Audio support"
20+
default y
21+
depends on DRM_APPLE
22+
depends on SND
23+
select SND_PCM
24+
select SND_DMAENGINE_PCM
25+
26+
config DRM_APPLE_DEBUG
27+
bool "Enable additional driver debugging"
28+
depends on DRM_APPLE
29+
depends on EXPERT # only for developers

drivers/gpu/drm/apple/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR MIT
2+
3+
CFLAGS_trace.o = -I$(src)
4+
5+
appledrm-y := apple_drv.o
6+
appledrm-y += afk.o dcp.o dcp_backlight.o dptxep.o iomfb.o parser.o systemep.o
7+
appledrm-$(CONFIG_DRM_APPLE_AUDIO) += audio.o
8+
appledrm-$(CONFIG_DRM_APPLE_AUDIO) += av.o
9+
appledrm-y += connector.o
10+
appledrm-y += ibootep.o
11+
appledrm-y += iomfb_v12_3.o
12+
appledrm-y += iomfb_v13_3.o
13+
appledrm-y += epic/dpavservep.o
14+
appledrm-y += plane.o
15+
16+
17+
appledrm-$(CONFIG_TRACING) += trace.o
18+
19+
obj-$(CONFIG_DRM_APPLE) += appledrm.o

0 commit comments

Comments
 (0)