]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: drm-kmod debugfs support
authorJake Freeland <jfree@FreeBSD.org>
Tue, 20 Sep 2022 17:41:10 +0000 (19:41 +0200)
committerEmmanuel Vadot <manu@FreeBSD.org>
Tue, 29 Nov 2022 10:09:45 +0000 (11:09 +0100)
commita8e31ab2e93f29858913f384dfc17cdaa77656f3
treea9d39e7e8be0213c9a8a4c01a4bbae9ba1ce2c65
parent18057f471dc46ddb10e18c36cf7f644d38e1dddf
linuxkpi: drm-kmod debugfs support

This diff extends LinuxKPI to support simple attribute files in debugfs.
These simple attributes are an essential component for compiling drm-kmod
with CONFIG_DEBUG_FS enabled.
This will allow for easier graphics driver debugging using
Intel's igt-gpu-tools.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D35883
Sponsored by: Google, Inc. (GSoC 2022)

(cherry picked from commit f697b9432d9c7aa4c5ab5f5445ef5dc1bd40ce00)
share/man/man5/Makefile
share/man/man5/lindebugfs.5 [new file with mode: 0644]
sys/compat/lindebugfs/lindebugfs.c
sys/compat/linuxkpi/common/include/linux/dcache.h
sys/compat/linuxkpi/common/include/linux/debugfs.h
sys/compat/linuxkpi/common/include/linux/fs.h
sys/compat/linuxkpi/common/include/linux/seq_file.h
sys/compat/linuxkpi/common/src/linux_seq_file.c
sys/compat/linuxkpi/common/src/linux_simple_attr.c [new file with mode: 0644]
sys/conf/files
sys/modules/linuxkpi/Makefile