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

Balasubramani Vivekanandan balasubramani.vivekanandan at intel.com
Wed Mar 15 08:14:58 UTC 2023


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

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: Skip XY_FAST_COLOR instruction on link copy engines
  drm/xe/tests: Adapt migrate_sanity_test for link copy engines

 drivers/gpu/drm/xe/regs/xe_gpu_commands.h |  9 +++
 drivers/gpu/drm/xe/tests/xe_migrate.c     | 19 ++++--
 drivers/gpu/drm/xe/xe_device_types.h      |  2 +
 drivers/gpu/drm/xe/xe_migrate.c           | 70 +++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_pci.c               |  4 ++
 5 files changed, 94 insertions(+), 10 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list