From nobody Sun Jul 03 21:10:33 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 2BB1F87D6F9 for ; Sun, 3 Jul 2022 21:10:46 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4LbhRn1Dbjz3qCd for ; Sun, 3 Jul 2022 21:10:45 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: by mail-qt1-x82a.google.com with SMTP id q16so7538589qtn.5 for ; Sun, 03 Jul 2022 14:10:45 -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=nCxF24OvSL0HPg70YFajvzAeWcrxzs4XbHNEFfGlcgE=; b=RTQfUg98Ptaar7HmW40r5trZhZ6vAKNAboXA+DTOORurMoPpbN4dUB+iYY4iheXYfA jDe18Wj8mfblVNHMLHZyuGR67LwJxITUWqfdZQl482KyZb8c0GKcNPjP+SQEB1M6sKmt Qw80vCLqqmHRSIARhWgAsdrRdBHy8wjRu/KvP6u9vvP9jzvDtmhKR+2JiC8n6Hv1SLsd xa0cw1hc4uUUGLEFtq3VpSjqdwWOpGVUKuzP+e/h8WbQuN2c4/MfkmSimqMoPvy3kjV8 q7oKnadH0cQbo8bsWtxCXlyXEYRCiVDnC3o6C/Qkmz5FlZ0XSZHzMWC+yyK9RndLF1gW 4WpQ== 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=nCxF24OvSL0HPg70YFajvzAeWcrxzs4XbHNEFfGlcgE=; b=3tET1zwmXDwRiA2HDJW18vROTHFhBjoBgc11nPtYlN36vnQhJAU+gU4wxjSDb3YZOu W0ZhWJGiXw4LWR5Knk79uDBDU4N3iIlwK3VqIU6iLAN4EF5AGg4LfL/xtFYwmOmkyIVy 0fu/7j+8PUUfNFw8tnAOXgu+SL+z0n4zicJVjrFSw2eD348Zbpk4ciKuJdnTKwa5i37C ruY/5NSDmnjmoRtU89B3K60jNCCy4emErtUVF55rch9Y8q8rZ8QOwdErtLRTjGsJylat x9A+jyKdeNjelc7cD2wQrbtG1x8x66P89YxTA8haW82aI3P1CxS7dxXVVDZGNO+3dUg4 1bhw== X-Gm-Message-State: AJIora8sw7h6cYn/48jKfYhdrz3Jr0+xfJzweKDMMk2mKUGzmK1hnqVb BqpdIfTHTZmGFn+iBWYg/gCQMD5TFK2hwfnve5pW27AJu+l9YJtu X-Google-Smtp-Source: AGRyM1uvsLnLhLE/beY3Mk4toR/51MToXcI4SLnrMHeRuh2+BDnsEmS2pwPBH3F/gRv2eIcyIIEvYXtWetsONmcuYJw= X-Received: by 2002:ac8:59c9:0:b0:31c:22a5:9a5d with SMTP id f9-20020ac859c9000000b0031c22a59a5dmr21570728qtf.494.1656882643963; Sun, 03 Jul 2022 14:10:43 -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: Sun, 3 Jul 2022 16:10:33 -0500 Message-ID: Subject: igt-gpu-tools Status Report To: soc-status@freebsd.org Content-Type: multipart/alternative; boundary="0000000000006da84605e2ed0d00" X-Rspamd-Queue-Id: 4LbhRn1Dbjz3qCd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=technologyfriends.net header.s=google header.b=RTQfUg98; dmarc=none; spf=none (mx1.freebsd.org: domain of jake@technologyfriends.net has no SPF policy when checking 2607:f8b0:4864:20::82a) smtp.mailfrom=jake@technologyfriends.net X-Spamd-Result: default: False [-3.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[jake]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.986]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[technologyfriends.net]; DKIM_TRACE(0.00)[technologyfriends.net:~]; NEURAL_HAM_SHORT(-0.98)[-0.981]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82a: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 --0000000000006da84605e2ed0d00 Content-Type: text/plain; charset="UTF-8" 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 --0000000000006da84605e2ed0d00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi there,

I am working=C2=A0on porting = Intel's igt-gpu-tools drm graphics driver
testing suite over = to FreeBSD. A lot of progress and clarification
occurred=C2=A0thi= s week.

First, I spoke with my=C2=A0mentors, jrm@ = and manu@, who clarified
that CONFIG_DEBUG_FS is a kconfig flag t= hat toggles the use
of debugfs when compiling drm-kmod. Lindebugf= s, FreeBSD's
implementation of debugfs needs some work to com= pile
correctly=C2=A0with drm-kmod.

Since= debugfs and drm-kmod are essential components=C2=A0of
igt-gpu-to= ols, I started fixing compilation errors for drm-kmod
with CONFIG= _DEBUG_FS enabled and ended up creating
function specificatio= ns for required GPLv2 code. These
specifications will help later = on when clean-room implementing
these functions under the BSD 2 c= lause license.

I also completed a BSD licensed=C2= =A0simple_read_from_buffer()
function that copies kernel-space da= ta into to a user-space buffer.
The Linux code already provided a= function specification so
I completed the function by looking di= rectly at that and avoiding
the GPL licensed code.

=
I completed debugfs compilation for amdgpu today and have
<= div>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
--0000000000006da84605e2ed0d00--