ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
Nasina has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
digetx has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #dri-devel
The_Company has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
Daanct12 has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
pzanoni has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
glennk has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
The_Company has quit []
Nasina has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Remote host closed the connection]
blaztinn has quit [Ping timeout: 480 seconds]
blaztinn has joined #dri-devel
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
illwieckz has quit [Read error: Connection reset by peer]
Company has joined #dri-devel
illwieckz has joined #dri-devel
Company has quit []
nerdopolis has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
zsoltiv_ has quit [Ping timeout: 480 seconds]
Nasina has quit [Remote host closed the connection]
Nasina has joined #dri-devel
zzyiwei has joined #dri-devel
zzyiwei has quit [Read error: Connection reset by peer]
vliaskov__ has joined #dri-devel
Nasina has quit [Remote host closed the connection]
fab has joined #dri-devel
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
kasper93_ has joined #dri-devel
kasper93 is now known as Guest17728
kasper93_ is now known as kasper93
kasper93_ has joined #dri-devel
kasper93 is now known as Guest17729
kasper93_ is now known as kasper93
kasper93_ has joined #dri-devel
kasper93 is now known as Guest17730
kasper93_ is now known as kasper93
Guest17728 has quit [Ping timeout: 480 seconds]
Guest17729 has quit [Ping timeout: 480 seconds]
Guest17730 has quit [Ping timeout: 480 seconds]
fab has quit [Quit: fab]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Duke`` has joined #dri-devel
fab has joined #dri-devel
kasper93 has quit [Ping timeout: 480 seconds]
kzd has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
sghuge has quit [Remote host closed the connection]
fab has quit [Quit: fab]
sghuge has joined #dri-devel
fab has joined #dri-devel
fab has quit []
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
hikiko_ has joined #dri-devel
hikiko has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
<karolherbst> Soo.. I might want to do something about resource_from_user_memory. Atm I think most drivers only accept page aligned pointers, iris does internal offset magic to support any. I'm wondering if it's better to move that into the frontends instead. On the OpenGL side it's used through GL_AMD_pinned_memory and GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD. The
<karolherbst> GL extension doesn't specify any alignment requirements, just advises to use system page size in the FAQ. The OpenCL side of things can create cl_mem buffers from host memory and doesn't specify an alignment req either, however the request is not allowed to fail in OpenCL, so atm if the driver rejects it, I simply create a shadow buffer and handle
<karolherbst> it in the frontend.
<karolherbst> I wonder if we should add a cap where each driver specifies the required alignment of resource_from_user_memory
<karolherbst> and then make it a frontend problem to make the call reliable
anholt has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
mal has quit [Ping timeout: 480 seconds]
croissant_ has joined #dri-devel
<kode54> is geekbench6 known to do bad behavior?
fab has joined #dri-devel
fab has quit []
croissant has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
hikiko has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
hikiko_ has quit [Ping timeout: 480 seconds]
vliaskov__ has quit [Remote host closed the connection]
Caterpillar has joined #dri-devel
fab has joined #dri-devel
fab has quit []
fab has joined #dri-devel
fab has quit []
sima has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
JRepin has joined #dri-devel
Nasina has joined #dri-devel
coldfeet has joined #dri-devel
balrog_ has joined #dri-devel
balrog has quit [Ping timeout: 480 seconds]
JRepin has quit []
JRepin has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
lplc has quit [Quit: WeeChat 4.0.4]
lplc has joined #dri-devel
kasper93 has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
coldfeet has joined #dri-devel
lion328 has quit [Quit: Leaving]
JRepin has quit []
lion328 has joined #dri-devel
haaninjo has joined #dri-devel
JRepin has joined #dri-devel
kts has joined #dri-devel
abhinav__ has quit [Quit: The Lounge - https://thelounge.chat]
stsquad has quit [Quit: ZNC 1.8.1 - https://znc.in]
akhilpo has quit [Quit: The Lounge - https://thelounge.chat]
lumag has quit [Quit: ZNC 1.8.1 - https://znc.in]
bryanodonoghue has quit [Quit: The Lounge - https://thelounge.chat]
sumits has quit [Quit: ZNC 1.8.1 - https://znc.in]
jhugo has quit [Quit: The Lounge - https://thelounge.chat]
jessica_24 has quit [Quit: The Lounge - https://thelounge.chat]
sgerhold has quit [Quit: :/]
stsquad has joined #dri-devel
JRepin has quit []
cbraga3 has joined #dri-devel
JRepin has joined #dri-devel
lumag has joined #dri-devel
nerdopolis has joined #dri-devel
JRepin has quit []
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.6.3]
<eric_engestrom> hakzsam: sorry the for ~48h late reply, I've been very sporadically on my laptop these last couple of days (and I'm about to be mostly offline for a week)
<eric_engestrom> hakzsam: I'll make a release right now, although I only have a few minutes before I have to go; if I don't manage now I'll find some time tomorrow
<eric_engestrom> the release will have no other commit and I'll skip the normal ci round to verify it otherwise I don't have time to wait
croissant_ has quit []
hikiko_ has joined #dri-devel
hikiko has quit [Ping timeout: 480 seconds]
croissant has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
<robclark> karolherbst: any idea about this (from cts test_conversions):
<eric_engestrom> hakzsam: release is out :)
<karolherbst> robclark: LLVM Translator bug
<robclark> ok so "not our bug"(TM)
<robclark> and yeah, I would appreciate frontend doing page alignment ;-)
<karolherbst> already merged and backported, might just need to update your deps or so
<robclark> (there might be extra fun for asahi with different host vs guest pg size)
<karolherbst> yeah...
<karolherbst> I really want the driver to tell me the alignment it expets
<karolherbst> but
<robclark> hmm, I just cloned SPIRV-LLVM-Translator yesterday
<karolherbst> asahi doesn't support resource_from_user_memory yet
<karolherbst> soo..
<karolherbst> robclark: ohh.. which llvm branch?
<karolherbst> maybe it wasn't backported...
<robclark> (nether does freedreno.. yet.. kernel supports it but not wired up yet)
<robclark> but yeah, required alignment cap would be a good idea
<karolherbst> I'm more interested in it in terms of fine-grained buffer SVM support
<robclark> I think main?
<karolherbst> which will require from_user_memory to be reliable
<karolherbst> mhhh
<karolherbst> mesa doesn't build on llvm main
<robclark> oh, hmm
<robclark> I guess I'm using distro version?
<karolherbst> possibly
<robclark> yeah, /lib/aarch64-linux-gnu/libLLVMSPIRVLib.so.19.1
<karolherbst> ahh
<karolherbst> let's see
<karolherbst> but the translator doesn't do releases in the classical sense
<karolherbst> ohh it does actually...
<karolherbst> since when I wonder
<karolherbst> robclark: anyway.. looks like you'll need 19.1.8 of the translator then
<karolherbst> I think they just tag whenever llvm tags
<robclark> this is debian (trixie/13) for $reasons.. looks like it is still on 19.1.6
<karolherbst> rough
<karolherbst> wanna have my llvm build script?
<robclark> no!
<karolherbst> :D
<robclark> this thing is slow (basically a watch SoC).. it would take half a century to build llvm ;-)
<robclark> I'll just note what version it is fixed in and move on
<karolherbst> okay
<karolherbst> mhhh
<karolherbst> the from_user_memory alignment problem could become _interesting_ to support
<karolherbst> e.g. what if your host has 4k pages, the device needs 16k
<karolherbst> and now you get a 0x...3100 pointer
<karolherbst> do you try to map 0x...0000 + (internal offset 0x3100) and hope the driver manages if a page is mapped at 0x...3000 but not before?
<karolherbst> that's gonna get interesting to support properly...
<robclark> I assume the same offset tricks as sub-page.. if guest has smaller page size, the guest mapping can still be page aligned.. I think
<karolherbst> yeah but if the driver says "16k alignment" I can't just try to map 0x...3000 even if it's the start of the page on the host
<karolherbst> _however_
<karolherbst> for SVM it doesn't matter, because I do the allocation :)
<karolherbst> and for non SVM I can still do shadow buffers
<karolherbst> so guess this is a corner case I'll just ignore
<robclark> so guest VA doesn't need the same alignment as host VA
<karolherbst> right, but I map into the GPU's VM space
<robclark> but buffer size and gpu mapping would need 16k alignment
<karolherbst> mhhhhhh
<karolherbst> I _think_ there was an issue with that on asahi... but I can't remember
<robclark> I guess if you want gpu va to equal guest va then it is 16k alignment
<karolherbst> I think the physical memory needs alignment
<karolherbst> but not sure...
<karolherbst> anyway.. can try to solve this when it becomes necessary 🙃
digetx has joined #dri-devel
akhilpo has joined #dri-devel
hikiko has joined #dri-devel
hikiko_ has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
warpme has joined #dri-devel
Company has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
mal has joined #dri-devel
dsimic is now known as Guest17742
dsimic has joined #dri-devel
Guest17742 has quit [Ping timeout: 480 seconds]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
fab has joined #dri-devel
warpme has quit []
coldfeet has quit [Quit: Lost terminal]
zzyiwei has joined #dri-devel
zzyiwei has quit [Read error: Connection reset by peer]
JRepin has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
warpme has joined #dri-devel
davispuh has joined #dri-devel
JRepin has quit []
warpme has quit []
JRepin has joined #dri-devel
JRepin has quit []
cphealy_ has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
parthi has joined #dri-devel
JRepin has joined #dri-devel
coldfeet has joined #dri-devel
parthiban has quit [Ping timeout: 480 seconds]
jessica_24 has joined #dri-devel
parthi has quit [Ping timeout: 480 seconds]
parthiban has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
phire has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
parthi has joined #dri-devel
parthiban has quit [Remote host closed the connection]
hikiko has quit [Ping timeout: 480 seconds]
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
parthi has quit [Ping timeout: 480 seconds]
cphealy has joined #dri-devel
alanc has quit [Remote host closed the connection]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
alanc has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
rasterman has joined #dri-devel
hikiko has joined #dri-devel
fab has quit [Quit: fab]
hikiko_ has joined #dri-devel
hikiko has quit [Read error: Connection reset by peer]
YuGiOhJCJ has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
lanodan has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
<DemiMarie> karolherbst: confirming that per-GPU-context is (required to be) the security boundary
haaninjo has quit [Quit: Ex-Chat]
JRepin has quit []
rasterman has quit [Quit: Gettin' stinky!]
nerdopolis has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
glennk has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Read error: No route to host]
Nasina has joined #dri-devel
calico has joined #dri-devel