<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Rome wasn’t built in a day :)<div>Thanks, Nikolaus <br><br><div dir="ltr">On<span style="font-size: 13pt;"> The Road</span></div><div dir="ltr"><br><blockquote type="cite">Am 28.06.2022 um 09:44 schrieb Anthoine Bourgeois <anthoine.bourgeois@gmail.com>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Mon, Jun 27, 2022 at 08:06:50AM +0200, H. Nikolaus Schaller wrote:</span><br><blockquote type="cite"><span>Hi,</span><br></blockquote><blockquote type="cite"><span>anyone able to fix this?</span><br></blockquote><span>Hi Nikolaus,</span><br><span></span><br><span>I'm working on it. It's not easy so I think it will take few days.</span><br><span></span><br><span>Thanks,</span><br><span>Anthoine</span><br><span></span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>BR and thanks,</span><br></blockquote><blockquote type="cite"><span>Nikolaus</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Am 09.06.2022 um 11:02 schrieb H. Nikolaus Schaller <hns@goldelico.com>:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hi all,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>there is a major issue to be solved (unfortunately beyond my experience).</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>There was a change in the DMA fence API which (at least) the DDK 1.17 driver tries to use.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>    548e7432dc2 dma-buf: add dma_resv_replace_fences v2</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>This change made compilation fail.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I have pinpointed it to two functions in</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>and guarded it by #if and #warningto to return -EINVAL in the current code.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>This compiles but is probably functionally wrong. Currently letux-pvrsrvkm-5.19-rc1 compiles as:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c: In function 'update_dma_resv_fences_dst':</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c:541:2: warning: #warning FIXME like in 548e7432dc2da475a18077b612e8d55b8ff51891 [-Wcpp]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>#warning FIXME like in 548e7432dc2da475a18077b612e8d55b8ff51891</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> ^~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c: In function 'update_dma_resv_fences_src':</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c:674:2: warning: #warning FIXME like in 548e7432dc2da475a18077b612e8d55b8ff51891 [-Wcpp]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>#warning FIXME like in 548e7432dc2da475a18077b612e8d55b8ff51891</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> ^~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>At top level:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c:345:12: warning: 'install_and_get_blocking_fence' defined but not used [-Wunused-function]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>static int install_and_get_blocking_fence(struct pvr_fence_frame *pvr_fence_frame, unsigned index, struct dma_fence *fence)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c:324:13: warning: 'allocate_blocking_fence_storage' defined but not used [-Wunused-function]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>static bool allocate_blocking_fence_storage(struct pvr_fence_frame *pvr_fence_frame, unsigned count)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/services4/srvkm/env/linux/pvr_linux_fence.c:231:26: warning: 'create_fence_to_signal' defined but not used [-Wunused-function]</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>static struct dma_fence *create_fence_to_signal(struct pvr_fence_frame *pvr_fence_frame)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>                         ^~~~~~~~~~~~~~~~~~~~~~</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The above mentioned commit also changes drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>which could be a blueprint for what we have to do. But as said I have no experiences with</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>fences, so this needs support from the community.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>BR and thanks,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Nikolaus</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Am 09.06.2022 um 10:48 schrieb kernel-build-bot@letux.org:</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>A new version of our holistic PVR/SGX driver is available</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Kernel: v5.19-rc1</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Result: letux-pvrsrvkm-5.19-rc1 (rebased on 5.19-rc1)</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>LetuxOS: http://git.goldelico.com/?p=letux-kernel.git;a=heads</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Github: https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/branches</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Components:</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/omap-sysc-prm-gfx</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/omap-pvr-soc-glue-v8</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.5.15.3226</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.7.862890</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.9.2188537</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.9.2253347</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.10.2359475</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.13.3341330</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.14.3699939</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.14.3759903</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.14.3841212</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.15.4564147</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm-1.17.4948957</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvrsrvkm</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>letux/pvr-demo</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>=======</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>2b7bafd69f099 Merge branches 'letux/omap-sysc-prm-gfx', 'letux/omap-pvr-soc-glue-v8', 'letux/pvrsrvkm-1.5.15.3226', 'letux/pvrsrvkm-1.7.862890', 'letux/pvrsrvkm-1.9.2188537', 'letux/pvrsrvkm-1.9.2253347', 'letux/pvrsrvkm-1.10.2359475', 'letux/pvrsrvkm-1.13.3341330', 'letux/pvrsrvkm-1.14.3699939', 'letux/pvrsrvkm-1.14.3759903', 'letux/pvrsrvkm-1.14.3841212', 'letux/pvrsrvkm-1.15.4564147', 'letux/pvrsrvkm-1.17.4948957', 'letux/pvrsrvkm', 'letux/pvrsrvkm-defconfig', 'letux/pvr-demo' and 'letux/compile-fixes-v5' into letux-pvrsrvkm-5.19-rc1</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>0980db52e9e41 FIXME: pvrsrv: 1.17: pvr_linux_fence: there is no direct access to struct dma_resv_list and no resv->seq mechanism any more</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>b28493d6e51d9 pvrsrv: 1.17: module: avoid compile abort by duplicate symbols</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>53a5b32551ddf scripts: modpost.c: not use strsep() again... there is get_line()</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>a5ed3310ca415 scripts: check-local-export: make latest scripts/check-local-export compatible to bash 3.x</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>957b98e72734e Letux: rootfs: gpu-demo: add glxgears and glxinfo</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>b7b3778ebc17f Letux: rootfs: Get rid of “warning: command substitution: ignored null byte in input”</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>020c8199d5ef5 Letux: rootfs: sgxdump: fix +x flags</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>a4890c00794f8 Letux: rootfs: sgxdump: capture VERSION and REVISION and deduce SGX version reported by hardware</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>803bb57f42f28 Letux: rootfs: sgxdump: make read of /sys node more safe</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>c0ae3a6d16681 Letux: rootfs: sgxdump: fix for am335x</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>aee56ab27cc0e Letux: rootfs: sgxdump: more fixes</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>837f4ad142554 Letux: rootfs: sgxdump: add OMAP34xx and base decision on /sys/devices/soc0/machine</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>42bee560d9dae Letux: rootfs: sgxdump: add omap4 support</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>fa877cf9b2d7a Letux: rootfs: sgxdump: use new power management by sysc and add omap5</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>c7ca430ac377c Letux: rootfs: sgxdump: add #!/bin/bash</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>db4cd07d39c9f Letux: rootfs: add sgxdump - a tool to dump SGX interface registers</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>5bd5040a40c8c Letux: rootfs: gpu-demo: fix /etc/powervr.ini for am335x</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>10e6f02bbf074 Letux: rootfs: gpu-demo: fix installation for omap5432</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>ec74c2a4d08a5 Letux: rootfs: gpu-demo: do not overwrite powervr.ini by the version from git</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>https://github.com/openpvrsgx-devgroup/linux_openpvrsgx</span><br></blockquote><blockquote type="cite"><span>openpvrsgx-devgroup mailing list</span><br></blockquote><blockquote type="cite"><span>openpvrsgx-devgroup@letux.org</span><br></blockquote><blockquote type="cite"><span>https://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup</span><br></blockquote></div></blockquote></div></body></html>