igt-gpu-tools Status Report
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 21:10:33 UTC
Hi there, I am working on porting Intel's igt-gpu-tools drm graphics driver testing suite over to FreeBSD. A lot of progress and clarification occurred this week. First, I spoke with my mentors, jrm@ and manu@, who clarified that CONFIG_DEBUG_FS is a kconfig flag that toggles the use of debugfs when compiling drm-kmod. Lindebugfs, FreeBSD's implementation of debugfs needs some work to compile correctly with drm-kmod. Since debugfs and drm-kmod are essential components of igt-gpu-tools, I started fixing compilation errors for drm-kmod with CONFIG_DEBUG_FS enabled and ended up creating function specifications for required GPLv2 code. These specifications will help later on when clean-room implementing these functions under the BSD 2 clause license. I also completed a BSD licensed simple_read_from_buffer() function that copies kernel-space data into to a user-space buffer. The Linux code already provided a function specification so I completed the function by looking directly at that and avoiding the GPL licensed code. I completed debugfs compilation for amdgpu today and have started analyzing Intel's i915 driver files. Hopefully I am able to have drm-kmod compiling with dummy functions very soon. Thank you, Jake Freeland