All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross-device and cross-driver HMM support
@ 2024-03-27  9:52 Thomas Hellström
  2024-04-02 22:57 ` Dave Airlie
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Hellström @ 2024-03-27  9:52 UTC (permalink / raw)
  To: dri-devel, intel-xe
  Cc: Matthew Brost, oak.zeng, Dave Airlie, Daniel Vetter,
	Christian König

Hi!

With our SVM mirror work we'll soon start looking at HMM cross-device
support. The identified needs are

1) Instead of migrating foreign device memory to system when the
current device is faulting, leave it in place...
1a) for access using internal interconnect,
1b) for access using PCIE p2p (probably mostly as a reference)

2) Request a foreign device to migrate memory range a..b of a CPU
mm_struct to local shareable device memory on that foreign device.

and we plan to add an infrastructure for this. Probably this can be
done initially without too much (or any) changes to the hmm code
itself.

So the question is basically whether anybody is interested in a 
drm-wide solution for this and in that case also whether anybody sees
the need for cross-driver support?

Otherwise any objections against us starting out with an xe driver
helper implementation that could be lifted to drm-level when needed?

Finally any suggestions or pointers to existing solutions for this?

Any comments / suggestions greatly appreciated.

Thanks,
Thomas


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

end of thread, other threads:[~2024-04-09 10:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27  9:52 Cross-device and cross-driver HMM support Thomas Hellström
2024-04-02 22:57 ` Dave Airlie
2024-04-03  9:16   ` Christian König
2024-04-03 12:57     ` Jason Gunthorpe
2024-04-03 14:06       ` Christian König
2024-04-03 15:09         ` Jason Gunthorpe
2024-04-09 10:18           ` Thomas Hellström

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.