Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] Small bar recovery vs compressed content on DG2
@ 2022-03-16  7:25 Thomas Hellström
  2022-03-17  8:43 ` Joonas Lahtinen
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Hellström @ 2022-03-16  7:25 UTC (permalink / raw)
  To: Matthew Auld, Joonas Lahtinen, Bloomfield, Jon,
	Intel Graphics Development, Ramalingam C

Hi!

Do we somehow need to clarify in the headers the semantics for this?

 From my understanding when discussing the CCS migration series with 
Ram, the kernel will never do any resolving (compressing / 
decompressing) migrations or evictions which basically implies the 
following:

*) Compressed data must have LMEM only placement, otherwise the GPU 
would read garbage if accessing from SMEM.
*) Compressed data can't be assumed to be mappable by the CPU, because 
in order to ensure that on small BAR, the placement needs to be LMEM+SMEM.
*) Neither can compressed data be part of a CAPTURE buffer, because that 
requires the data to be CPU-mappable.

Are we (and user-mode drivers) OK with these restrictions, or do we need 
to rethink?

Thanks,

Thomas



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

end of thread, other threads:[~2022-04-04  9:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-16  7:25 [Intel-gfx] Small bar recovery vs compressed content on DG2 Thomas Hellström
2022-03-17  8:43 ` Joonas Lahtinen
2022-03-17  9:29   ` Matthew Auld
2022-03-17  9:35   ` Thomas Hellström
2022-03-17 18:21     ` Bloomfield, Jon
2022-03-18  9:48       ` Thomas Hellström
2022-03-18 16:25         ` Bloomfield, Jon
2022-03-18 18:12           ` Daniel Vetter
2022-03-21  6:53             ` Thomas Hellström
2022-03-31  9:25             ` Matthew Auld
2022-04-04  9:04               ` Thomas Hellström

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