[Intel-xe] [RFC v2 0/6] Enable compression handling on LNL.

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Nov 28 13:36:53 UTC 2023


Hi!

On Tue, 2023-11-21 at 15:39 +0530, Himal Prasad Ghimiray wrote:
> Series enables flat ccs on xe2 igfx platforms and handles clearing
> and copy 
> of ccs metadata during bo creation and xe_bo_move respectively.
> 
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Signed-off-by: Himal Prasad Ghimiray
> <himal.prasad.ghimiray at intel.com>
> 
> Himal Prasad Ghimiray (6):
>   drm/xe/xe2: Support flat ccs.
>   drm/xe/xe2: Determine bios enablement for flat ccs on igfx.
>   drm/xe/xe2: Allocate extra pages for ccs during bo create.
>   drm/xe/xe2: Updates on XY_CTRL_SURF_COPY_BLT
>   drm/xe/xe_migrate.c: Use NULL 1G PTE mapped at 255GiB VA for ccs
>     clear.
>   drm/xe/xe2: Handle flat ccs move for igfx.
> 
>  drivers/gpu/drm/xe/regs/xe_gpu_commands.h |   3 +-
>  drivers/gpu/drm/xe/regs/xe_gt_regs.h      |   3 +
>  drivers/gpu/drm/xe/xe_bo.c                |  40 ++++---
>  drivers/gpu/drm/xe/xe_bo_types.h          |   2 +
>  drivers/gpu/drm/xe/xe_device.c            |  32 ++++-
>  drivers/gpu/drm/xe/xe_migrate.c           | 139 +++++++++-----------
> --
>  drivers/gpu/drm/xe/xe_pci.c               |   2 +-
>  7 files changed, 119 insertions(+), 102 deletions(-)
> 

I forgot to mention, in xe/tests/xe_bo.c there is a kunit test that
exercises basic clearing and migration with a CCS-metadata-enabled bo.
IMO we should update that to make sure it runs with the new code as
well.

Thanks,
Thomas



More information about the Intel-xe mailing list