dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* xe vs amdgpu userptr handling
@ 2024-02-07  6:56 Dave Airlie
  2024-02-07 11:08 ` Maíra Canal
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Airlie @ 2024-02-07  6:56 UTC (permalink / raw)
  To: dri-devel

I'm just looking over the userptr handling in both drivers, and of
course they've chosen different ways to represent things. Again this
is a divergence that is just going to get more annoying over time and
eventually I'd like to make hmm/userptr driver independent as much as
possible, so we get consistent semantics in userspace.

AFAICS the main difference is that amdgpu builds the userptr handling
inside a GEM object in the kernel, whereas xe doesn't bother creating
a holding object and just handles things directly in the VM binding
code.

Is this just different thinking at different times here?
like since we have VM BIND in xe, it made sense not to bother creating
a gem object for userptrs?
or is there some other advantages to going one way or the other?

Dave.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-08 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07  6:56 xe vs amdgpu userptr handling Dave Airlie
2024-02-07 11:08 ` Maíra Canal
2024-02-08  0:36   ` Dave Airlie
2024-02-08  6:30     ` Christian König
2024-02-08  9:38       ` Thomas Hellström
2024-02-08  9:43         ` Thomas Hellström
2024-02-08 11:08           ` Christian König
2024-02-08 11:25             ` Thomas Hellström
2024-02-08 16:22   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox