tursulin has quit [Read error: Connection reset by peer]
Calandracas_ has joined #dri-devel
kts has joined #dri-devel
glennk has joined #dri-devel
kts has quit []
Calandracas has quit [Ping timeout: 480 seconds]
tursulin_ has quit [Ping timeout: 480 seconds]
brandon_ has joined #dri-devel
tursulin has joined #dri-devel
sudeepd has quit [Ping timeout: 480 seconds]
tursulin has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
tursulin has quit [Ping timeout: 480 seconds]
paulk has quit [Ping timeout: 480 seconds]
paulk has joined #dri-devel
tursulin has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
surajkandpal has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
tursulin has quit [Ping timeout: 480 seconds]
aravind has joined #dri-devel
tursulin has joined #dri-devel
sudeepd has joined #dri-devel
u-amarsh04 has quit []
tursulin has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
amarsh04 has joined #dri-devel
guludo has quit [Quit: WeeChat 4.2.1]
tertl8 has quit [Quit: Connection closed for inactivity]
tursulin has joined #dri-devel
sukuna has quit [Remote host closed the connection]
tursulin has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
tursulin has joined #dri-devel
Company has quit [Quit: Leaving]
tursulin has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
cheako has quit [Quit: Connection closed for inactivity]
tursulin has joined #dri-devel
yrlf has quit [Ping timeout: 480 seconds]
yrlf has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
tursulin has joined #dri-devel
tursulin_ has joined #dri-devel
tursulin has quit [Read error: Connection reset by peer]
glennk has quit [Ping timeout: 480 seconds]
<DemiMarie>
Do graphics APIs expose CPU pointers to not-fully-cacheable memory?
<DemiMarie>
I don’t care about KMS or dumb buffers here.
<DemiMarie>
Just OpenGL and Vulkan.
fireburn has quit []
<airlied>
not-full-cacheable isn't really a defined memory type
<airlied>
but yes you can map vram into cpu address space with vulkan
tursulin_ has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
<DemiMarie>
So hypervisors normally force all guest memory to write back.
<DemiMarie>
The settings set by the guest are ignored.
<DemiMarie>
Will that break things?
<DemiMarie>
If so, there is a problem.
<DemiMarie>
The secure way to do this is to trap and emulate every single access, which would be hilariously slow.
tursulin has joined #dri-devel
<airlied>
making pci bars write back will probably not end well
<DemiMarie>
Why does userspace need access to those?
<DemiMarie>
airlied: Are those BARs VRAM only, or do they also include MMIO?
<airlied>
userspace accesses VRAM because it wants to write stuff into VRAM
tursulin has quit [Ping timeout: 480 seconds]
<airlied>
I think we also expose WC mappings of RAM regions
<airlied>
not sure what you mean by MMIO there, you mean device registers or something?
OftenTimeConsuming has quit [Quit: OftenTimeConsuming]
<airlied>
those normally aren't exposed to userspace, but they are just another PCI BAR, and they generally are uncached
macromorgan has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
<DemiMarie>
MMIO = anything that doesn’t act like RAM, like device registers.
tursulin has joined #dri-devel
<airlied>
yeah we don't tend to map MMIO into guests
<DemiMarie>
Because it causes problems?
<airlied>
just don't need to usually
<airlied>
unless you are doing full device passthrough
<airlied>
actually maybe SRIOV does some of that
<DemiMarie>
I see
<DemiMarie>
Anyway, good night!
tursulin has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
Leopold___ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
tursulin_ has joined #dri-devel
tursulin has quit [Read error: Connection reset by peer]
zzoon has joined #dri-devel
<zzoon[m]>
airlied: just out of curiosity, th av1 branch for anv works with p frames on DG2?
<zzoon[m]>
I mean it passes only i frame cts test. want to be sure if there's something wrong on my side.
<zzoon[m]>
Mine is alderlake.
yyds has quit [Ping timeout: 480 seconds]
sudeepd has quit [Ping timeout: 480 seconds]
<airlied>
zzoon[m]: nope, it only decodes one I frame
tursulin_ has quit [Ping timeout: 480 seconds]
<airlied>
couldn't get P frames properly, I suspected something cdf related
<zzoon[m]>
yup. that's what im working on. thanks.
yyds has joined #dri-devel
zzoon has quit []
Duke`` has joined #dri-devel
cheako has joined #dri-devel
tursulin has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
tursulin has quit [Read error: Connection reset by peer]
tursulin_ has joined #dri-devel
tursulin has joined #dri-devel
tursulin_ has quit [Remote host closed the connection]
fab has quit [Quit: fab]
mbrost has quit [Read error: Connection reset by peer]
hansg has joined #dri-devel
sgruszka has joined #dri-devel
mvlad has joined #dri-devel
jsa has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
tzimmermann has joined #dri-devel
jkrzyszt has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
tursulin has quit [Remote host closed the connection]
tursulin has joined #dri-devel
fab has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
<MrCooper>
airlied DemiMarie: indeed, GPU drivers also use write-combined mappings of system RAM for performance; if the hypervisor forces those to be cacheable, but the GPU doesn't snoop the CPU cache, that probably won't end well either
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
frankbinns has quit [Ping timeout: 480 seconds]
Leopold___ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
hansg has quit [Remote host closed the connection]
glennk has joined #dri-devel
warpme has joined #dri-devel
frankbinns has joined #dri-devel
<pq>
grillo_0, jfalempe, tzimmermann, I wonder if it would be possible to combine VKMS and DRM core pixel conversion machinery into a single thing? Core does conversions, VKMS does conversions and blending. Does core need direct format-to-format functions, or could it use format-to-common + common-to-format pair acting line by line?
<tzimmermann>
pq, maybe
<tzimmermann>
but the panic-handler discussion shows that it's not so easy.
<tzimmermann>
we're basically discussing a full drawing API
<tzimmermann>
there's also older code in fbdev, which does similar tasks
<pq>
I'd think a drawing API would be built on top.
<emersion>
core needs format conversion for XRGB8888 → format supported by hw, in some cases
<pq>
essentially, pixman architecture, but without the hand-written arch/extension specific asm.
<tzimmermann>
what else would be there? with the conversion and blending in place, the rest of the drawing api feels like bells-and-whistles to me
<pq>
I don't know if a drawing API is needed, I just assumed it was.
lynxeye has joined #dri-devel
<tzimmermann>
maybe not a full one, but the basics
<tzimmermann>
the panic handler draws fonts (via blit code) and has a fill operation for rectangles
<pq>
ok
<tzimmermann>
the fbdv code also has a copy operation
<tzimmermann>
i guess those are the necessary primitives
<pq>
that doesn't sound bad, what else was suggested?
<tzimmermann>
we don't have blending so far
<pq>
VKMS needs blending
<tzimmermann>
i guess that complicates matters
<pq>
well, it already has it
<pq>
VKMS also has format-to/from-common pixel conversion routines, that make feel they should be used elsewhere too.
<tzimmermann>
for some time, i've wondered if we should attempt to build something subsystem neutral. so that we don't reinvent the wheel each time (as we do now)
<pq>
but, because VKMS needs to do blending, the pixel format conversion routines need to convert to/from a high depth common format
<tzimmermann>
pq, can it handle pixels with less than 8 bits?
<pq>
yes, people are writing that right now
<tzimmermann>
i see
<tzimmermann>
in the format helpers, we use per-line conversion routines. so it doesn't read the same bytes multiple times
<pq>
VKMS is going back to line-by-line to gain the performance it had a year ago with line-by-line
<pq>
it was "simplified" to work pixel-by-pixel in the mean time
<pq>
the work is being done by Louis Chauvet and Arthur Grillo, along with IGT performance benchmarks
<tzimmermann>
ok, sounds interesting
<pq>
patches are on dri-devel and igt lists
jsa has quit [Read error: Connection reset by peer]
<jfalempe>
yes, I've seen the YUV support, which I might be interested in for drm_panic.
jsa has joined #dri-devel
<jfalempe>
But it's hard to find a good compromise between performance, complexity and sharing the code between different usage.
<tzimmermann>
in the format helpers, it's line-by-line. the overall clip-and-copy loop is format agnostic. in some cases, the per-line helpers could be created via from_foramt() and to_format() helpers. but there's little benefit to do so ATM
benjaminl has quit [Ping timeout: 480 seconds]
<pq>
using the VKMS pixel coversion architecture does not exclude the possibility of having direct format-to-format functions either, if performance demands, maybe per-pixel inlined helper functions could still be shared
<pq>
all I can say is, please have a look, maybe there could be something to share
<tzimmermann>
sure. as i said, i think we should eventually try to build something subsystem agnostic (drivers/video/) to that we don't have to reinvent the wheel each time
MrCooper has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
pcercuei has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
Duke`` has quit []
Duke`` has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
rasterman has joined #dri-devel
OftenTimeConsuming has joined #dri-devel
MrCooper has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
aravind has quit [Ping timeout: 480 seconds]
MrCooper has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
surajkandpal has quit [Ping timeout: 480 seconds]
i-garrison has quit [Remote host closed the connection]
i-garrison has joined #dri-devel
sima has joined #dri-devel
tursulin has quit [Remote host closed the connection]
tursulin has joined #dri-devel
glennk has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
valentine has quit []
valentine has joined #dri-devel
valentine has quit []
valentine has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
valentine has quit []
glennk has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
valentine1 has joined #dri-devel
valentine1 has quit []
valentine1 has joined #dri-devel
valentine1 has quit []
valentine1 has joined #dri-devel
OftenTimeConsuming has joined #dri-devel
davispuh has joined #dri-devel
warpme has quit []
kts has joined #dri-devel
kts has quit []
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
warpme has joined #dri-devel
Haaninjo has joined #dri-devel
kts has joined #dri-devel
fab has quit [Quit: fab]
kts_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
yyds has quit [Remote host closed the connection]
glennk has joined #dri-devel
guludo has joined #dri-devel
ahajda has joined #dri-devel
ahajda has quit []
rz has quit [Remote host closed the connection]
rz has joined #dri-devel
dorcaslitunya has joined #dri-devel
kts has joined #dri-devel
kts has quit []
kts_ has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
glennk has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #dri-devel
JohnnyonFlame has joined #dri-devel
hansg has joined #dri-devel
glennk has joined #dri-devel
pepp has joined #dri-devel
surajkandpal has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
warpme has quit []
macromorgan has joined #dri-devel
ninjaaaaa has quit [Remote host closed the connection]
simondnnsn has quit [Read error: Connection reset by peer]
Duke`` has joined #dri-devel
ninjaaaaa has joined #dri-devel
simondnnsn has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
warpme has joined #dri-devel
kts has joined #dri-devel
surajkandpal has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Remote host closed the connection]
tursulin has quit [Read error: Connection reset by peer]
tursulin has joined #dri-devel
tursulin_ has joined #dri-devel
tursulin has quit [Read error: Connection reset by peer]
tursulin_ has quit []
cernico has joined #dri-devel
glennk has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
soreau has quit [Ping timeout: 480 seconds]
<demarchi>
nvm, found it
soreau has joined #dri-devel
<DavidHeidelberg>
zmike: no, but the pain invoked on your side regarding to not having latest piglit reached me telepathically :D the piglit is upreved
glennk has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
Jeremy_Rand_Talos has quit [Remote host closed the connection]
Jeremy_Rand_Talos has joined #dri-devel
jkrzyszt has quit [Ping timeout: 480 seconds]
cheako has joined #dri-devel
dviola has quit [Quit: WeeChat 4.2.1]
jsa has quit [Ping timeout: 480 seconds]
Leopold has joined #dri-devel
dviola has joined #dri-devel
JohnnyonFlame has joined #dri-devel
jsa has joined #dri-devel
Leopold has quit [Remote host closed the connection]
glennk has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #dri-devel
warpme has quit []
dorcaslitunya has quit [Remote host closed the connection]
dumbbell2 has joined #dri-devel
dumbbell has quit [Read error: Connection reset by peer]
dumbbell2 has quit [Remote host closed the connection]
dumbbell has joined #dri-devel
Leopold__ has joined #dri-devel
Leopold__ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
junaid has quit [Remote host closed the connection]
anujp has quit [Ping timeout: 480 seconds]
anujp has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
mvlad has quit [Remote host closed the connection]
kzd has quit [Quit: kzd]
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
anujp has quit [Ping timeout: 480 seconds]
anujp has joined #dri-devel
guludo has quit [Quit: WeeChat 4.2.1]
sudeepd has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
tertl8 has joined #dri-devel
rasterman has joined #dri-devel
sudeepd has joined #dri-devel
sukuna has joined #dri-devel
ninjaaaaa has quit [Read error: Connection reset by peer]
simondnnsn has quit [Read error: Connection reset by peer]