From nobody Sat Jun 25 03:17:20 2022 X-Original-To: soc-status@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9F73E878AF6 for ; Sat, 25 Jun 2022 03:17:32 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LVK174nRvz3w27 for ; Sat, 25 Jun 2022 03:17:31 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: by mail-qv1-xf2b.google.com with SMTP id 88so7243361qva.9 for ; Fri, 24 Jun 2022 20:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technologyfriends.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=odpNpOgZdUUQBxUuYKav50TdgQKVDpNN6scOlOjFwis=; b=fABvxopQvUWWUeYkfUbIepM9vV0BIp85LHhLm8LBCXJ6Y/XjolAVg3p98ZHcHeC72K ojtrn7iX2/vRPfhtGFOCFf1Db/Gjt3ckyoBKFsFvZUL5UOpOzEJPfDxBPN+1PaPGWEQS f8PpM8dUX3AoKA3l/HsOy7ms/r5IxVl9jaryQ3ZyRgcO9rY2/Fj3XEhtyWtn2ERfiqKT cEDvMETy3yOMkFeAKC573cwXM2RioWptZHvE8nYIxrove9F45BXZIleljFti+RA5zwZf QQand3CUsjGxSQuRw+5Ngh2c6LymrLnMCT9YJncc8v/mvAEQH7PNPpDJsWaYU1WJoEuB 8O3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=odpNpOgZdUUQBxUuYKav50TdgQKVDpNN6scOlOjFwis=; b=TTYqk1SxlKTw+ii5K0Ky7cWCnSevqJsr/ZTb8VuR8NcCQ8DLJkkc0cqjZwaJAUB/+I h0rljV1LEjRPqsvhFNNm5kTXE5Cqf2p/O1JaixAKUiLqSWU4r25D/BjFKI75wptIjoYf J8BJaMZ/gJXLcr/4Iwz3Pe71MtjX3tsTQwfmPDly+elCTer9TEtHshfM4MtgyP82DIuA QbvnnrlQeXahJqW5imYwpwJfGJCMMZYsrBRfiCZL3JrgHyfIqEYe5doUVsk7+6V0yeaY Ma3jTPSeeK7LSip4TSD+88MdTGZGFmm3Owz9wRiqyS04ZMhfNvWNgIKdW8GqmEh6ZfNR yLVQ== X-Gm-Message-State: AJIora9XcwPhj3PfXrIeWGOKTbQN9g47wbQhA4Vk5GEEjga1DL9oqV3/ VYg5LL+F/fDlsW81nHRO5sWRbaFy1qCUzDwquCmDUvont6+jKA== X-Google-Smtp-Source: AGRyM1tmL5AG1ZcOdy/A84rVHxGk4+wtufHsXiLWS1ttVz+tUncdfX7pSBhqiNYkezwJZ9gNgX1ALRzpHDvSoXVJlag= X-Received: by 2002:a05:622a:1990:b0:305:76b:8f8 with SMTP id u16-20020a05622a199000b00305076b08f8mr1732560qtc.619.1656127050974; Fri, 24 Jun 2022 20:17:30 -0700 (PDT) List-Id: Summer of Code Status Reports and Discussion List-Archive: https://lists.freebsd.org/archives/soc-status List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-soc-status@freebsd.org X-BeenThere: soc-status@freebsd.org MIME-Version: 1.0 From: Jake Freeland Date: Fri, 24 Jun 2022 22:17:20 -0500 Message-ID: Subject: Weekly Status Report: igt-gpu-tools To: soc-status@freebsd.org Content-Type: multipart/alternative; boundary="00000000000093e97e05e23d20d6" X-Rspamd-Queue-Id: 4LVK174nRvz3w27 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=technologyfriends.net header.s=google header.b=fABvxopQ; dmarc=none; spf=none (mx1.freebsd.org: domain of jake@technologyfriends.net has no SPF policy when checking 2607:f8b0:4864:20::f2b) smtp.mailfrom=jake@technologyfriends.net X-Spamd-Result: default: False [-2.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960]; FREEFALL_USER(0.00)[jake]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[technologyfriends.net]; DKIM_TRACE(0.00)[technologyfriends.net:~]; NEURAL_HAM_SHORT(-0.75)[-0.751]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2b:from]; R_DKIM_PERMFAIL(0.00)[technologyfriends.net:s=google]; MLMMJ_DEST(0.00)[soc-status]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000093e97e05e23d20d6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Engineer a Feature Complete Port of Intel's igt-gpu-tools for FreeBSD A quick introduction: Intel=E2=80=99s igt-gpu-tools serves as a generic testing suite for drm dri= vers 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 dr= m 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 --00000000000093e97e05e23d20d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Engineer a Feature Complete Port of Intel's igt-gpu-to= ols for FreeBSD

A quick introduction:
Intel=E2=80=99s = 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 tar= get kms, memory
management, and command submission. This low-leve= l reporting allows for
transparent tracking of kernel changes and= efficient debugging of modern drm
drivers.

<= div>Progress:
Over the last week I've nearly gotten igt-gpu-t= ools 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 a= pproach is certainly=C2=A0not perfect, but it is also temporary.
=
I am ~95% of the way through compilation with a few difficul= t errors to sort out.
Once the program compiles successfully, I p= lan on rewriting POSIX compliant
versions of the Linux-specific c= ode that I ignored with the __linux__ macro.
I will prioritize ce= rtain features and start the rewriting process. Some notable
Free= BSD absentees are debugfs, libkmod, libprocps, Linux performance events,
and Linux userfaultfd.

Once the FreeBSD co= mpatible 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
--00000000000093e97e05e23d20d6--