Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Implement compression support on BMG
@ 2024-07-11 12:21 Akshata Jahagirdar
  2024-07-11 12:21 ` [PATCH 1/6] drm/xe/migrate: Handle clear ccs logic for xe2 dgfx Akshata Jahagirdar
  0 siblings, 1 reply; 5+ messages in thread
From: Akshata Jahagirdar @ 2024-07-11 12:21 UTC (permalink / raw)
  To: igt-dev; +Cc: akshatajahagirdar6, Akshata Jahagirdar

According to the SAS for BMG compression, we need to decompress during eviction,
and not recompress on restore. Due to this, we need to introduce encoding pat_index
in case of vram too. This patch explores the solution of setting up an additional
identity map for the vram, this time at the end of previous mapping offset and
with compressed pat_index. 
We then select the appropriate mapping during eviction/restore/clear.

Akshata Jahagirdar (6):
  drm/xe/xe2: Introduce identity map for compressed pat for vram
  drm/xe/migrate: Handle clear ccs logic for xe2 dgfx
  drm/xe/migrate: Add kunit to test clear functionality
  drm/xe/xe_migrate: Handle migration logic for xe2+ dgfx
  drm/xe/migrate: Add kunit to test migration functionality for BMG
  drm/xe/xe2: Do not run xe_bo_test for xe2+ dgfx

 drivers/gpu/drm/xe/tests/xe_bo.c           |   6 +
 drivers/gpu/drm/xe/tests/xe_migrate.c      | 388 +++++++++++++++++++++
 drivers/gpu/drm/xe/tests/xe_migrate_test.c |   1 +
 drivers/gpu/drm/xe/tests/xe_migrate_test.h |   1 +
 drivers/gpu/drm/xe/xe_device.h             |   5 +
 drivers/gpu/drm/xe/xe_migrate.c            |  66 +++-
 6 files changed, 449 insertions(+), 18 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-07-16  5:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 12:21 [PATCH 0/6] Implement compression support on BMG Akshata Jahagirdar
2024-07-11 12:21 ` [PATCH 1/6] drm/xe/migrate: Handle clear ccs logic for xe2 dgfx Akshata Jahagirdar
2024-07-12 12:33   ` Piecielska, Katarzyna
2024-07-16  2:15     ` Jahagirdar, Akshata
2024-07-16  5:59       ` Piecielska, Katarzyna

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