mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

Create a separate "tmpfs" kernel mount for V3D. This will allow us to move away from the shmemfs `shm_mnt` and gives the flexibility to do things like set our own mount options. Here, the interest is to use "huge=", which should allow us to enable the use of THP for our shmem-backed objects. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240923141348.2422499-6-mcanal@igalia.com
24 lines
401 B
Makefile
24 lines
401 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Please keep these build lists sorted!
|
|
|
|
# core driver code
|
|
v3d-y := \
|
|
v3d_bo.o \
|
|
v3d_drv.o \
|
|
v3d_fence.o \
|
|
v3d_gem.o \
|
|
v3d_irq.o \
|
|
v3d_mmu.o \
|
|
v3d_perfmon.o \
|
|
v3d_trace_points.o \
|
|
v3d_sched.o \
|
|
v3d_sysfs.o \
|
|
v3d_submit.o \
|
|
v3d_gemfs.o
|
|
|
|
v3d-$(CONFIG_DEBUG_FS) += v3d_debugfs.o
|
|
|
|
obj-$(CONFIG_DRM_V3D) += v3d.o
|
|
|
|
CFLAGS_v3d_trace_points.o := -I$(src)
|