[Intel-xe] [PATCH v5 0/2] drm/xe: Skip XY_FAST_COLOR instruction on link copy engines

Balasubramani Vivekanandan balasubramani.vivekanandan at intel.com
Fri Mar 17 15:35:29 UTC 2023


Use MEM_SET instructions as alternative on platforms with link copy
engines which does not support the XY_FAST_COLOR instruction.

v5:
  - Modified xe_migrate_clear() function to stop accepting values for
    setting. This function now only clears the memory region to 0. (Lucas)

v4:
  - Modified the patch such that when using MEM_SET instruction, only
    allow clearing the memory region, setting of value is not supported.
  - Adapt migrate sanity kunit tests for platforms with link copy
    engines (Niranjana).

v3:
  - bitmask definitions reorder with most significant bit first (Lucas)
  - s/GRAPHICS_VERx100(gt->xe)/GRAPHICS_VERx100(xe) (Niranjana)

Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>

Balasubramani Vivekanandan (2):
  drm/xe: Stop accepting value in xe_migrate_clear
  drm/xe: Skip XY_FAST_COLOR instruction on link copy engines

 drivers/gpu/drm/xe/regs/xe_gpu_commands.h |  9 +++
 drivers/gpu/drm/xe/tests/xe_bo.c          |  2 +-
 drivers/gpu/drm/xe/tests/xe_migrate.c     | 16 +++---
 drivers/gpu/drm/xe/xe_bo.c                |  2 +-
 drivers/gpu/drm/xe/xe_device_types.h      |  2 +
 drivers/gpu/drm/xe/xe_migrate.c           | 69 +++++++++++++++++++----
 drivers/gpu/drm/xe/xe_migrate.h           |  3 +-
 drivers/gpu/drm/xe/xe_pci.c               |  4 ++
 8 files changed, 83 insertions(+), 24 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list