Date: Sun, 3 Jul 2022 16:10:33 -0500 From: Jake Freeland <jake@technologyfriends.net> To: soc-status@freebsd.org Subject: igt-gpu-tools Status Report Message-ID: <CAOgZAGYLJWbyTtw-Du3Y1KJSWcvUFkBZfriEV1edSqpH_sBdAw@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] <div dir="ltr">Hi there,<div><br></div><div>I am working on porting Intel's igt-gpu-tools drm graphics driver</div><div>testing suite over to FreeBSD. A lot of progress and clarification</div><div>occurred this week.</div><div><br></div><div>First, I spoke with my mentors, jrm@ and manu@, who clarified</div><div>that CONFIG_DEBUG_FS is a kconfig flag that toggles the use</div><div>of debugfs when compiling drm-kmod. Lindebugfs, FreeBSD's</div><div>implementation of debugfs needs some work to compile</div><div>correctly with drm-kmod.</div><div><br></div><div>Since debugfs and drm-kmod are essential components of</div><div>igt-gpu-tools, I started fixing compilation errors for drm-kmod</div><div>with CONFIG_DEBUG_FS enabled and ended up creating<br></div><div>function specifications for required GPLv2 code. These</div><div>specifications will help later on when clean-room implementing</div><div>these functions under the BSD 2 clause license.</div><div><br></div><div>I also completed a BSD licensed simple_read_from_buffer()</div><div>function that copies kernel-space data into to a user-space buffer.</div><div>The Linux code already provided a function specification so</div><div>I completed the function by looking directly at that and avoiding</div><div>the GPL licensed code.</div><div><br></div><div>I completed debugfs compilation for amdgpu today and have</div><div>started analyzing Intel's i915 driver files. Hopefully I am able to have</div><div>drm-kmod compiling with dummy functions very soon.</div><div><br></div><div>Thank you,</div><div>Jake Freeland</div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgZAGYLJWbyTtw-Du3Y1KJSWcvUFkBZfriEV1edSqpH_sBdAw>
