Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] ttm_bo and multiple backing store segments
@ 2023-06-29 21:10 Welty, Brian
  2023-07-17 17:24 ` Rodrigo Vivi
  0 siblings, 1 reply; 4+ messages in thread
From: Welty, Brian @ 2023-06-29 21:10 UTC (permalink / raw)
  To: Christian König, Thomas Hellström, dri-devel,
	Matthew Brost, intel-xe
  Cc: Dave Airlie, Daniel Vetter


Hi Christian / Thomas,

Wanted to ask if you have explored or thought about adding support in 
TTM such that a ttm_bo could have more than one underlying backing store 
segment (that is, to have a tree of ttm_resources)?
We are considering to support such BOs for Intel Xe driver.

Some of the benefits:
  * devices with page fault support can fault (and migrate) backing store
    at finer granularity than the entire BO
  * BOs can support having multiple backing store segments, which can be
    in different memory domains/regions
  * BO eviction could operate on smaller granularity than entire BO

Or is the thinking that workloads should use SVM/HMM instead of 
GEM_CREATE if they want above benefits?

Is this something you are open to seeing an RFC series that starts 
perhaps with just extending ttm_bo_validate() to see how this might 
shape up?

-Brian

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

end of thread, other threads:[~2023-08-04  0:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29 21:10 [Intel-xe] ttm_bo and multiple backing store segments Welty, Brian
2023-07-17 17:24 ` Rodrigo Vivi
2023-07-19  9:02   ` Christian König
2023-08-04  0:19     ` Welty, Brian

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