Skip to content

Instantly share code, notes, and snippets.

View jsm222's full-sized avatar

Jesper Schmitz Mouridsen jsm222

View GitHub Profile
@jsm222
jsm222 / Makefile
Created July 6, 2025 23:41
poc drm-subtree as modules. (requires some changes for 15-current which are done but not shared yet)
KMOD = drm_kmod
MFILES+=dw_hdmi_if.m rk_vop_if.m
SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
CFLAGS= -I./drmkpi/include/ -I./core/include/ -include drmkpi/include/drm/drm_os_freebsd.h -I./core/include/uapi/ -Wno-error=gnu-pointer-arith -Wno-error=missing-prototypes -Wno-error=format -Wno-error=cast-qual -Wno-error=unused-but-set-variable '-DKBUILD_MODNAME="DRMv5.8"'
SRCS+=device_if.h bus_if.h vnode_if.h pci_if.h opt_platform.h ofw_bus_if.h clknode_if.h phynode_if.h \
dw_hdmi_if.c rk_vop_if.c \