ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
illwieckz has joined #dri-devel
luben has joined #dri-devel
Kayden has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
sassefa has joined #dri-devel
sassefa has quit []
<mareko> zmike: it's exposed by default
<mareko> for all drivers
<mareko> only iris doesn't expose it
<mareko> for some gens
Haaninjo has quit [Quit: Ex-Chat]
<zmike> oh, right
<zmike> pipe caps 🤕
luben has quit [Remote host closed the connection]
sassefa has joined #dri-devel
m00nlit[m] has joined #dri-devel
robertmader[m] has joined #dri-devel
flynnjiang has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
yyds has joined #dri-devel
sassefa has quit []
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
ngcortes has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
gdevi has joined #dri-devel
sassefa has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
Amber_Harmonia has quit [Ping timeout: 480 seconds]
tintou has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
tomeu has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
heat has quit [Ping timeout: 480 seconds]
Amber_Harmonia has joined #dri-devel
onox[m] has joined #dri-devel
sassefa has quit []
ngcortes has quit [Ping timeout: 480 seconds]
Tanay_man has joined #dri-devel
kunal_10185[m] has joined #dri-devel
jasuarez has joined #dri-devel
Leopold has joined #dri-devel
yyds_ has joined #dri-devel
yyds has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
Tanay_man has quit []
Leopold has quit [Remote host closed the connection]
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
viciouss[m] has joined #dri-devel
YHNdnzj[moz] has joined #dri-devel
KunalAgarwal[m][m] has joined #dri-devel
bmodem has joined #dri-devel
kts has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
bmodem has quit [Quit: bmodem]
bmodem has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
fab has joined #dri-devel
milky has joined #dri-devel
ngcortes has joined #dri-devel
ngcortes_ has joined #dri-devel
flynnjiang has quit [Quit: flynnjiang]
ngcortes has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
milky has quit [Remote host closed the connection]
yyds_ has quit [Remote host closed the connection]
i-garrison has quit []
fab has quit [Quit: fab]
i-garrison has joined #dri-devel
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
sima has joined #dri-devel
ngcortes_ has quit [Read error: Connection reset by peer]
yyds has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Leopold_ has joined #dri-devel
glennk has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
bolson has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
yyds has quit [Remote host closed the connection]
yyds has joined #dri-devel
mbrost has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
kxkamil has quit []
yyds has quit [Remote host closed the connection]
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
kxkamil has joined #dri-devel
yyds has joined #dri-devel
yyds has quit []
yyds has joined #dri-devel
frieder has joined #dri-devel
mbrost has quit [Remote host closed the connection]
Leopold has quit [Remote host closed the connection]
yyds has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
f11f12 has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
yyds has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
rooq96 has quit []
Leopold has joined #dri-devel
mattst88 has quit [Remote host closed the connection]
mattst88 has joined #dri-devel
tursulin has joined #dri-devel
apinheiro has joined #dri-devel
tzimmermann has joined #dri-devel
lynxeye has joined #dri-devel
vliaskov has joined #dri-devel
mvlad has joined #dri-devel
Leopold has quit [Remote host closed the connection]
pcercuei has joined #dri-devel
Haaninjo has joined #dri-devel
mvchtz has joined #dri-devel
glennk has quit [Remote host closed the connection]
chaos_princess has quit [Quit: chaos_princess]
chaos_princess has joined #dri-devel
Leopold_ has joined #dri-devel
kts has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold has joined #dri-devel
karolherbst has joined #dri-devel
hansg has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
Leopold has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
yyds has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
junaid has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
kts has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
CME_ has joined #dri-devel
CME has quit []
halves has quit [Quit: o/]
halves has joined #dri-devel
halves has quit []
halves has joined #dri-devel
halves has quit []
halves has joined #dri-devel
junaid has quit [Remote host closed the connection]
bmodem has quit [Ping timeout: 480 seconds]
jsa has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
Leopold_ has joined #dri-devel
frieder has joined #dri-devel
kts has quit [Quit: Leaving]
tursulin has quit [Ping timeout: 480 seconds]
mvlad has quit [Read error: Connection reset by peer]
mvlad has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
tzimmermann has joined #dri-devel
hansg has quit [Quit: Leaving]
heat has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
frieder has joined #dri-devel
<sima> airlied, https://lore.kernel.org/dri-devel/e64f641d-44b7-4019-866d-1050277ef885@redhat.com/ that mgag200 has a really cursed cpu :-/
<sima> streaming wb->wc transfers somehow destroying latency on other cores
tomba_ has joined #dri-devel
<tzimmermann> sima, jfalempe, can we please make this a kconfig parameter?
<sima> I guess kconfig also works, or both
<jfalempe> tzimmermann: yes, I can do a kconfig parameter if you prefer.
bmodem has joined #dri-devel
mvlad has quit [Read error: Connection reset by peer]
<jfalempe> tzimmermann: would it work for you if I add DRM_MGAG200_WRITE_COMBINE, and default to n if PREEMPT_RT is set ?
mvlad has joined #dri-devel
yyds has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
carbonfiber has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
rgallaispou has joined #dri-devel
simondnnsn has quit [Read error: No route to host]
simondnnsn has joined #dri-devel
davispuh has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
fab has quit [Quit: fab]
glennk has joined #dri-devel
<sima> emersion, thx for pushing other's kerneldoc fixes!
<emersion> :)
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
mvlad has quit [Quit: Leaving]
tursulin has joined #dri-devel
mvlad has joined #dri-devel
Dr_Who has joined #dri-devel
fab has joined #dri-devel
mclasen has joined #dri-devel
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
kts has joined #dri-devel
edt_ has joined #dri-devel
<edt_> is there a way to force a reset of an amd gpu? I am on 6.7.3 with mesa 23.3
<edt_> eg using /sys/class/drm/card1/device/reset ?
<edt_> what do I write to the file?
bolson has joined #dri-devel
<tzimmermann> jfalempe, IIRC the problem got exposed by 0b34d58b6c32 ("drm/mgag200: Enable caching for SHMEM pages") ?
<jfalempe> Yes, before this commit, the latency was good.
<tzimmermann> the caching can already be disabled like this: https://elixir.bootlin.com/linux/v6.7/source/drivers/gpu/drm/lima/lima_gem.c#L230
<tzimmermann> lima and panfrost do that for their hardware
<tzimmermann> and the cleaned patch seems to be for mgag200 to have a drm_driver.gem_create_object that sets the map_wc flag
<jfalempe> tzimmermann: this is what I've done on centos-stream, like this: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/3373/diffs ?
mclasen has quit [Ping timeout: 480 seconds]
<tzimmermann> jfalempe, ok. so it would be that patch
kzd has joined #dri-devel
<tzimmermann> and the kconfig option would depend on DRM_MGAG200 and PREEMPT_RT and maybe X86
<zamundaaa[m]> edt_: sudo cat /sys/kernel/debug/dri/1/amdgpu_gpu_recover will do it
<jfalempe> tzimmermann: ok, and the cache flush is still needed, that used to be implicit with mmap/unmap
<tzimmermann> i'd hide that behind the kconfig option, even if that limits the workaround to x86.
<tzimmermann> if we get reports from other architectures, we can expand the coverage
<tzimmermann> i'm still no friend of all this, but everyone else disagrees. so let's at least limit the exposure of the workaround to the minimum necessary
mclasen has joined #dri-devel
<edt_> zamundaaa[m] thanks
edt_ has quit [Remote host closed the connection]
f11f12 has quit [Quit: Leaving]
Leopold has joined #dri-devel
Duke`` has joined #dri-devel
Leopold has quit [Remote host closed the connection]
yyds has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
mbrost has joined #dri-devel
mclasen has quit []
mclasen has joined #dri-devel
hansg has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
stry has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
stry has quit []
jsa has quit []
kts has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn has joined #dri-devel
simondnnsn has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
tango_ is now known as Guest1853
tango_ has joined #dri-devel
simondnnsn has joined #dri-devel
Guest1853 has quit [Ping timeout: 480 seconds]
mripard has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
mclasen has quit [Ping timeout: 480 seconds]
aljazmc has joined #dri-devel
agd5f_ has joined #dri-devel
mclasen has joined #dri-devel
mclasen has quit [Remote host closed the connection]
mclasen has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: Lost terminal]
pcercuei has joined #dri-devel
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn has joined #dri-devel
aljazmc has quit [Remote host closed the connection]
aljazmc has joined #dri-devel
sgm has quit [Ping timeout: 480 seconds]
sgm has joined #dri-devel
Leopold_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
<airlied> eric_engestrom: i though the whole idea of the vulkan job was to build vulkan bits without gallium
<airlied> so why do you want to build lavapipe?
mclasen has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
<eric_engestrom> well, it does point out bugs like the "misaligned address"
<eric_engestrom> but I take it the idea was to make sure none of the gallium bits need to be compiled in a vulkan driver?
<airlied> sima: all cpus are cursed the same if you put a pci 1x device with slow ram and stream to it :-p
<eric_engestrom> I guess instead we can add these checks to another build like `debian-testing`
<airlied> eric_engestrom: yeah it was to make sure vulkan drivers were buildable standalone
cheako has joined #dri-devel
<eric_engestrom> ack
<airlied> because it got screwed up enough times
<eric_engestrom> (/me has to go now though; I'll just close the MR with a comment)
Haaninjo has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
karolherbst_ has joined #dri-devel
karolherbst_ has quit [Remote host closed the connection]
tomba_ has quit [Ping timeout: 480 seconds]
karolherbst has quit [Ping timeout: 480 seconds]
hansg has quit [Quit: Leaving]
mbrost has joined #dri-devel
<sima> airlied, you think it's just that a lot of wc writes pile up and then some other core does something which causes a flush and stall because the endpoint is just so slow?
<sima> I figured wc buffer flush would only ever impact the local core, no others
karolherbst has joined #dri-devel
oneforall2 has quit [Quit: Leaving]
oneforall2 has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
<airlied> sima: I think if someone else does a pci read you have to flush your wc buffers, and then the transactions jsut go slow because shitty endpoint
<sima> oh the timer might need a pci read indeed and flush stuff
<sima> or mmio read at least
fab has quit [Quit: fab]
sassefa has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
sassefa has quit []
ngcortes_ has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
apinheiro has quit [Quit: Leaving]
aljazmc has quit []
carbonfiber has quit [Quit: Connection closed for inactivity]
vliaskov has quit []
Leopold_ has joined #dri-devel
ngcortes_ has quit []
ngcortes_ has joined #dri-devel
ngcortes has quit [Quit: Leaving]
ngcortes has joined #dri-devel
mclasen has joined #dri-devel
sassefa has joined #dri-devel
sassefa has quit []
ngcortes has quit [Quit: Leaving]
ngcortes_ has quit [Remote host closed the connection]
ngcortes has joined #dri-devel
ngcortes has quit []
Leopold_ has quit [Remote host closed the connection]
sarnex has quit [Remote host closed the connection]
sarnex has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
ngcortes has joined #dri-devel
mclasen has quit [Ping timeout: 480 seconds]
ngcortes has quit [Quit: Leaving]
mvlad has quit [Remote host closed the connection]
alyssa has joined #dri-devel
* alyssa wonders if (('isub', ('ishl', 1, a), 1), ('inot', ('ishl', ~0, a))) would be profitable
<alyssa> for !has_bfm hardware
<alyssa> I guess Mali would like it
<alyssa> (LLVM does this one)
<alyssa> (and it's a win on CPUs)
<alyssa> no changes on rob's shader-db on either m1 or g57, fun
alyssa has quit [Quit: alyssa]
<glehmann> alyssa: that's not valid for a == 0
<kisak> anyone happen to know why the configure of mesa 24.0 in i386 with intel-clc and rusticl off has a new libLLVMSPIRVLib requirement? The buildlog hints it's a change in src/gallium/targets/opencl/libMesaOpenCL.so.1.0.0
<glehmann> oh, nvm, my math was wrong
<kisak> (luckily it doesn't functionally matter for me since the Ubuntu i386 allowlist let me rebuild spirv-llvm-translator-15 with fresh i386 packages.
<glehmann> we could try to optimize it to bfm, I'll take a look at our shaders tomorrow
heat is now known as Guest1882
heat has joined #dri-devel
Guest1882 has quit [Read error: No route to host]
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
heat is now known as Guest1883
heat has joined #dri-devel
Guest1883 has quit [Read error: No route to host]