mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
5f8600b9d5
Add CONFIG_DRM_ACCEL_IVPU_DEBUG option that: - Adds -DDEBUG that enables printk regardless of the kernel config - Enables unsafe module params (that are now disabled by default) Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241017145817.121590-10-jacek.lawrynowicz@linux.intel.com
30 lines
594 B
Makefile
30 lines
594 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2023-2024 Intel Corporation
|
|
|
|
intel_vpu-y := \
|
|
ivpu_drv.o \
|
|
ivpu_fw.o \
|
|
ivpu_fw_log.o \
|
|
ivpu_gem.o \
|
|
ivpu_hw.o \
|
|
ivpu_hw_btrs.o \
|
|
ivpu_hw_ip.o \
|
|
ivpu_ipc.o \
|
|
ivpu_job.o \
|
|
ivpu_jsm_msg.o \
|
|
ivpu_mmu.o \
|
|
ivpu_mmu_context.o \
|
|
ivpu_ms.o \
|
|
ivpu_pm.o \
|
|
ivpu_sysfs.o \
|
|
ivpu_trace_points.o
|
|
|
|
intel_vpu-$(CONFIG_DEBUG_FS) += ivpu_debugfs.o
|
|
intel_vpu-$(CONFIG_DEV_COREDUMP) += ivpu_coredump.o
|
|
|
|
obj-$(CONFIG_DRM_ACCEL_IVPU) += intel_vpu.o
|
|
|
|
subdir-ccflags-$(CONFIG_DRM_ACCEL_IVPU_DEBUG) += -DDEBUG
|
|
|
|
CFLAGS_ivpu_trace_points.o = -I$(src)
|