Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2022 22:17:20 -0500
From:      Jake Freeland <jake@technologyfriends.net>
To:        soc-status@freebsd.org
Subject:   Weekly Status Report: igt-gpu-tools
Message-ID:  <CAOgZAGY6Nu_TOZOaaTs%2B8N0xzrRTre4xg%2Bq6=xbbE7xhB0JaBA@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Engineer a Feature Complete Port of Intel's igt-gpu-tools for FreeBSD

A quick introduction:
Intel’s igt-gpu-tools serves as a generic testing suite for drm drivers on
Linux.
The igt-gpu-tools suite is separated into tests and tools that target kms,
memory
management, and command submission. This low-level reporting allows for
transparent tracking of kernel changes and efficient debugging of modern drm
drivers.

Progress:
Over the last week I've nearly gotten igt-gpu-tools to compile by including
C preprocessor macros that check if __linux__ is defined. Since I am
compiling
on FreeBSD, __linux__ has no value and therefore the nested code is
disregarded.
This approach is certainly not perfect, but it is also temporary.

I am ~95% of the way through compilation with a few difficult errors to
sort out.
Once the program compiles successfully, I plan on rewriting POSIX compliant
versions of the Linux-specific code that I ignored with the __linux__ macro.
I will prioritize certain features and start the rewriting process. Some
notable
FreeBSD absentees are debugfs, libkmod, libprocps, Linux performance events,
and Linux userfaultfd.

Once the FreeBSD compatible code is complete, I plan to test the modified
igt tests using a host of graphics processors on FreeBSD 14.0-CURRENT.

Thank you,
Jake Freeland

[-- Attachment #2 --]
<div dir="ltr">Engineer a Feature Complete Port of Intel&#39;s igt-gpu-tools for FreeBSD<div><br><div><div>A quick introduction:<br>Intel’s igt-gpu-tools serves as a generic testing suite for drm drivers on Linux.</div><div>The igt-gpu-tools suite is separated into tests and tools that target kms, memory</div><div>management, and command submission. This low-level reporting allows for</div><div>transparent tracking of kernel changes and efficient debugging of modern drm</div><div>drivers.</div><div><br></div><div>Progress:</div><div>Over the last week I&#39;ve nearly gotten igt-gpu-tools to compile by including</div><div>C preprocessor macros that check if __linux__ is defined. Since I am compiling</div><div>on FreeBSD, __linux__ has no value and therefore the nested code is disregarded.</div><div>This approach is certainly not perfect, but it is also temporary.</div><div><br></div><div>I am ~95% of the way through compilation with a few difficult errors to sort out.</div><div>Once the program compiles successfully, I plan on rewriting POSIX compliant</div><div>versions of the Linux-specific code that I ignored with the __linux__ macro.</div><div>I will prioritize certain features and start the rewriting process. Some notable</div><div>FreeBSD absentees are debugfs, libkmod, libprocps, Linux performance events,</div><div>and Linux userfaultfd.</div><div><br></div><div>Once the FreeBSD compatible code is complete, I plan to test the modified</div><div>igt tests using a host of graphics processors on FreeBSD 14.0-CURRENT.</div><div><br>Thank you,</div></div></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?CAOgZAGY6Nu_TOZOaaTs%2B8N0xzrRTre4xg%2Bq6=xbbE7xhB0JaBA>