<alyssa>
robclark: Is there a (security etc) reason we can't expose host GEM handles to the guest?
<alyssa>
the "pass resource ID then get the resource by ID to get the handle to stuff into the ioctl" dance is annoying
<alyssa>
obviously the host GEM handles won't match guest GEM handles, but if we had both handles in the guest we could at least avoid all the fixups in virglrenderer
kts has quit [Quit: Konversation terminated!]
warpme has quit []
Duke`` has joined #dri-devel
digetx is now known as Guest13250
digetx has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
<sima>
mairacanal, what jani said and yeah with messy history this can happen
<sima>
and defo new patch which explains it all and cc: stable since we need to backport I guess?
<sima>
mairacanal, also sorry for the mess since this was my merge commit :-/
Nasina has quit [Read error: Connection reset by peer]
Guest13250 has quit [Ping timeout: 480 seconds]
<sima>
mairacanal, I looked a bit at this, no idea how I managed to screw this up
Adrinael_ has joined #dri-devel
Adrinael has quit [Ping timeout: 480 seconds]
phasta has quit [Quit: Leaving]
mehdi-djait3397165695212282475 has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
<robclark>
alyssa: more of a performance reason than a security reason.. res_id's are created in the guest before gem handles are created in the host. If you used host handles in guest then allocation would be a synchronous round trip. I made that mistake in early iterations of msm nctx
<alyssa>
robclark: ugh, ok. yeah, that would do it :/
<alyssa>
thanks
<robclark>
np
<robclark>
would be kinda clever if gem gave us a sane way to have userspace allocated gem handles, I suppose.. but mostly the dance isn't too annoying, and with vm_bind you don't even have to do it that often
<alyssa>
yeah, i'm asking in context of needing to fixup vm_bind payloads which is a little invasive
<alyssa>
but not a big deal
Nasina has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
davispuh has joined #dri-devel
kts has joined #dri-devel
kts has quit []
Nasina has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
djbw has quit [Ping timeout: 480 seconds]
djbw has joined #dri-devel
amarsh04 has quit [Remote host closed the connection]
kts has quit [Quit: Konversation terminated!]
u-amarsh04 has joined #dri-devel
u-amarsh04 has quit [Remote host closed the connection]
frankbinns1 has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
frankbinns has quit [Ping timeout: 480 seconds]
u-amarsh04 has joined #dri-devel
glennk has quit [Read error: Connection reset by peer]
glennk has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
jsa2 has quit [Ping timeout: 480 seconds]
<jani>
sima: it's quite possible you got the resolution from rerere
<jani>
sima: i.e. that's your excuse ;D
<sima>
yeah but I'm supposed to check these :-/
<jani>
you said that, I didn't
<jani>
;)
kts has joined #dri-devel
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
frankbinns2 has joined #dri-devel
kts has joined #dri-devel
frankbinns1 has quit [Ping timeout: 480 seconds]
<mairacanal>
sima, np :)
sima has quit [Ping timeout: 480 seconds]
f_ is now known as Guest13267
Guest13267 is now known as f_
krushia has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
rasterman has quit [Quit: Gettin' stinky!]
jsa1 has joined #dri-devel
f_ has quit [Killed (NickServ (This nickname is registered and protected))]
f_ has joined #dri-devel
epoch101 has quit []
Aura has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
sima has joined #dri-devel
anholt has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
<eric_engestrom>
reminder to mesa devs: the 25.1 branchpoint is next wednesday (april 16) :)
<HdkR>
\o/
<eric_engestrom>
it will happen just after europe lunchtime (I'm going out in the evening), so don't wait until the end of the day ^^