All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] drm/i915/ttm: Evict and store of compressed object
@ 2022-02-07  9:37 ` Ramalingam C
  0 siblings, 0 replies; 29+ messages in thread
From: Ramalingam C @ 2022-02-07  9:37 UTC (permalink / raw)
  To: dri-devel, intel-gfx; +Cc: Hellstrom Thomas, Christian Koenig

On flat-ccs capable platform we need to evict and resore the ccs data
along with the corresponding main memory.

This ccs data can only be access through BLT engine through a special
cmd ( )

To support above requirement of flat-ccs enabled i915 platforms this
series adds new param called ccs_pages_needed to the ttm_tt_init(),
to increase the ttm_tt->num_pages of system memory when the obj has the
lmem placement possibility.

This will be on top of the flat-ccs enabling series
https://patchwork.freedesktop.org/series/95686/

For more about flat-ccs feature please have a look at
https://patchwork.freedesktop.org/patch/471777/?series=95686&rev=5

Testing of the series is WIP and looking forward for the early review on
the amendment to ttm_tt_init and the approach.

Ramalingam C (2):
  drm/i915/ttm: Add extra pages for handling ccs data
  drm/i915/migrate: Evict and restore the ccs data

 drivers/gpu/drm/drm_gem_vram_helper.c      |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c    |  23 +-
 drivers/gpu/drm/i915/gt/intel_migrate.c    | 283 +++++++++++----------
 drivers/gpu/drm/qxl/qxl_ttm.c              |   2 +-
 drivers/gpu/drm/ttm/ttm_agp_backend.c      |   2 +-
 drivers/gpu/drm/ttm/ttm_tt.c               |  12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c |   2 +-
 include/drm/ttm/ttm_tt.h                   |   4 +-
 8 files changed, 191 insertions(+), 139 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2022-02-18  0:05 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07  9:37 [RFC 0/2] drm/i915/ttm: Evict and store of compressed object Ramalingam C
2022-02-07  9:37 ` [Intel-gfx] " Ramalingam C
2022-02-07  9:37 ` [RFC 1/2] drm/i915/ttm: Add extra pages for handling ccs data Ramalingam C
2022-02-07  9:37   ` [Intel-gfx] " Ramalingam C
2022-02-07 10:41   ` Thomas Hellström (Intel)
2022-02-07 10:41   ` Das, Nirmoy
2022-02-07  9:37 ` [RFC 2/2] drm/i915/migrate: Evict and restore the " Ramalingam C
2022-02-07  9:37   ` [Intel-gfx] " Ramalingam C
2022-02-07 14:55   ` Hellstrom, Thomas
2022-02-07 14:55     ` [Intel-gfx] " Hellstrom, Thomas
2022-02-07 15:14     ` Ramalingam C
2022-02-07 15:14       ` [Intel-gfx] " Ramalingam C
2022-02-07 15:22       ` Hellstrom, Thomas
2022-02-07 15:22         ` [Intel-gfx] " Hellstrom, Thomas
2022-02-07 15:33         ` Ramalingam C
2022-02-07 15:33           ` [Intel-gfx] " Ramalingam C
2022-02-18  0:05   ` Lucas De Marchi
2022-02-07 10:48 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/ttm: Evict and store of compressed object Patchwork
2022-02-07 11:41 ` [RFC 0/2] " Christian König
2022-02-07 11:41   ` [Intel-gfx] " Christian König
2022-02-07 13:49   ` Hellstrom, Thomas
2022-02-07 13:49     ` [Intel-gfx] " Hellstrom, Thomas
2022-02-07 13:53   ` Ramalingam C
2022-02-07 13:53     ` [Intel-gfx] " Ramalingam C
2022-02-07 14:37     ` Christian König
2022-02-07 14:37       ` [Intel-gfx] " Christian König
2022-02-07 14:47       ` C, Ramalingam
2022-02-07 14:47         ` [Intel-gfx] " C, Ramalingam
2022-02-07 14:49     ` Das, Nirmoy

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.