Skip to content

RFC drm/i915/ttm: Evict and store of compressed object

Ramalingam C dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/ttm: Add extra pages for handling ccs datadrivers/gpu/drm/drm_gem_vram_helper.c drivers/gpu/drm/i915/gem/i915_gem_ttm.c drivers/gpu/drm/qxl/qxl_ttm.c +4 more+36 -112 replies
2/2drm/i915/migrate: Evict and restore the ccs datadrivers/gpu/drm/i915/gt/intel_migrate.c+155 -1285 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] drm/i915/ttm: Evict and store of compressed object

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(-)
Signature · 1 line
2.20.1