07:45Kayden: freedreno CI seems to be a bit pokey at the moment
08:10sima: robclark, for the double import I guess a vgem+vkms igt would be nice
08:11sima: I think if you abuse FLINK you can even test it from userspace alone, if both gem handles on the two separate drmfd where you imported the foreign dma-buf don't have matching flink names the kernel is bugged
08:11sima: or something like that
08:11sima: just woke up, this idea might be complete nonsense :-P
08:16MoeIcenowy: question about mesa vk wsi code: the vk spec requires swapchain presentable images to behave like tiling = VK_IMAGE_TILING_OPTIMAL, but the Mesa WSI code tries to create them with tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT and assume LINEAR modifier is avilable, is this an issue?
08:17MoeIcenowy: (there's usages that isn't valid for linear but for optimal in mesa powervr driver currently
08:17MoeIcenowy: there're *
08:20MoeIcenowy: (and mesa powervr driver currently don't expose GPU-internal formats as modifiers
08:20MoeIcenowy: s/formats/layouts/
08:26MoeIcenowy: BTW ping https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36266 , trying to MESA_VK_WSI_DEBUG=buffer to workaround the problem above and hit the old problem solved by this MR
08:27valentine: Kayden: some of the boards were having network issues but they should to be doing better now, apologies
08:43Kayden: valentine: awesome, thanks :)
14:21robclark: sima: I guess double import could also be tested w/ dma-heap enabled? I haven't had a chance to check if dma-heap is already used by any other igt test
14:23robclark: but yeah, flink name is a good idea
14:44sima: yeah dma-heap for the exporter should work too
14:44sima: was just thinking of something entirely virtual so we could run it for anyone's igt stack and all that
14:49pinchartl: robclark: there's also udmabuf but that will possibly not give you suitable memory
14:55robclark: I think dma-heap shouldn't have any particular hw req, so it should work w/ vkms as well?
14:55robclark: although not sure how commonly it is enabled
14:57Company: Gnome CI is using udmabuf for dmabuf stuff, and I think Weston, too - and I think GStreamer uses it in production when it needs CPU-accessible dmabufs, ie for software decoder but hw display
14:57Company: do it'd be nice if that turned into what everyone uses
15:02pinchartl: dma-heap may give you memory that will not be suitable for $USE_CASE with your $GPU. with vkms it should be all fine, for hardware testing it will work in some cases but likely not in all of them
15:02pinchartl: Company: udmabuf wraps a memfd, that won't work for devices that require DMA contiguous memory
15:03Company: pinchartl: I'm not an expert on memfds or DMA, but couldn't you add some way to make that happen?
15:07Company: what I like about udmabufs is that they allow using the same codepaths as dmabufs but work everywhere
15:07Company: and they've been catching on pretty well
15:08Company: "everywhere" meaning without the need for special hardware
15:23pinchartl: Company: not really, no. dma-heaps will already work better
15:23pinchartl: and they give you dmabufs
15:24Company: they just aren't enabled anywhere, or?
15:27Company: I mean, ultimately my goal is that everyone supports the same methods, because if llvmpipe uses dma heaps and GStreamer uses udmabuf, then that makes things more complicated than necessary
15:30pinchartl: they're not universally enabled by distros, or not accessible by non-root users
15:31pinchartl: I think Maxime Ripard recently worked on adding memory accounting to dma-heaps, which should pave the way to enabling them in distros
15:31pinchartl: but the best solution would be a universal allocator in userspace that would use the right backend based on the use cases
15:36Company: I think if there's a well-documented way to allocate a dmabuf that has caught on in enough places, then people will just copy-paste the code around
15:36Company: you just need to do the initial push to get it copy/pasted to a bunch of places
15:37Company: I mean, for udmabufs, I think everyone just copied the code from llvmpipe
15:44idr: glehmann: I'd prefer to not merge !399987 until we at least understand why that commit causes a unit test failure.
15:45idr: Having a future bisect hit a commit that fails 'ninja test' will be annoying.
15:45glehmann: it's not failing for me, but sure
15:45idr: Ah... I see you just updated the MR. :)
15:45idr: Really?
15:46glehmann: I think the issue probably is that the pattern uses fp range analysis for an integer operand
15:47glehmann: but then again, unsigned zero should be a subset of fp zero...
15:47idr: https://people.freedesktop.org/~idr/nir_opt_algebraic_pattern_test.b2i16_vec2_uge_uge.txt 15:48idr: I am now seeing the result is unsupported... which doesn't make sense.
15:50glehmann: do you only see that on the one commit?
15:50alyssa: idr: the fp range queries are pretty special in the algebraic unit tests, could be related
15:52glehmann: ah now I see the fail too
15:53idr: glehmann: I first hit it when my bisect landed at `nir: add fp class analysis for some intrinsics`.
15:53idr: So it last for at least a couple commits.