mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 01:58:55 +00:00
dca3b12109
Prerequisites for Mesa 24.0.1 * generic: * add patch to retrieve PCI/Platform information from Genode side of the DRM interface (in drmGetDevice2) * add generated 'fourcc' file * iris: * report back-end (currently 'i915', 'xe' is unsupported) * add various I915_CONTEXT_PARAM* and I915_PARAM* * allocate 'Buffer's starting with ID 1 (0 is invalid) * enforce 48-bit-address limit on unmap also * disable I915_EXEC_FENCE_ARRAY array check, because we do not support sync objects right now and rendering in synchronous * etnaviv: * create 'Fenceobj' only *once* for each GPU context issue #5224
36 lines
796 B
PHP
36 lines
796 B
PHP
LIB_DIR := $(REP_DIR)/src/lib/libdrm
|
|
|
|
# include before to shadow libdrm_macros.h
|
|
INC_DIR += $(LIB_DIR)/include
|
|
INC_DIR += $(REP_DIR)/src/lib/libdrm
|
|
|
|
LIBDRM_PORT_DIR := $(call select_from_ports,libdrm)/src/lib/libdrm
|
|
|
|
REP_INC_DIR += include/libdrm
|
|
REP_INC_DIR += include/drm
|
|
|
|
LIBS := libc
|
|
SHARED_LIB := yes
|
|
|
|
SRC_C := xf86drm.c \
|
|
xf86drmHash.c \
|
|
xf86drmMode.c \
|
|
xf86drmRandom.c \
|
|
xf86drmSL.c
|
|
|
|
SRC_C += dummies.c
|
|
|
|
CC_OPT = -D__GENODE__ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 -DHAVE_SYS_SYSCTL_H=1
|
|
|
|
#
|
|
# We rename 'ioctl' calls to 'genode_ioctl' calls, this way we are not required
|
|
# to write a libc plugin for libdrm.
|
|
#
|
|
CC_C_OPT += -Dioctl=genode_ioctl
|
|
|
|
vpath %.c $(LIBDRM_PORT_DIR)
|
|
vpath %.c $(LIB_DIR)
|
|
vpath %.cc $(LIB_DIR)
|
|
|
|
CC_CXX_WARN_STRICT_CONVERSION =
|