Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Refactor functions implementing the blt batch buffer
@ 2026-05-11 12:37 Balasubramani Vivekanandan
  2026-05-11 12:37 ` [PATCH v2 1/3] drm/xe: Refactor emit_clear_main_copy Balasubramani Vivekanandan
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Balasubramani Vivekanandan @ 2026-05-11 12:37 UTC (permalink / raw)
  To: intel-xe; +Cc: Matt Roper, Balasubramani Vivekanandan

Functions implementing batch buffer for blitter instructions MEM_SET,
MEM_COPY, XY_FAST_COPY and XY_FAST_COLOR use a fixed instruction length
hardcoded inside the function.
In future platforms the length of these instructions will be increased.
Replace those fixed instruction length with a function which returns the
length of the instruction based on the platform.
For now those functions still return the fixed length but will be
extended while adding support for future platforms.
This series is a prep work for supporting the upcoming platforms.

v2:
- Removed the macros defining the instruction length so that no one in
  future directly makes use of it (Matt)
- Rebased on recent drm-tip

Balasubramani Vivekanandan (3):
  drm/xe: Refactor emit_clear_main_copy
  drm/xe: Refactor emit_clear_link_copy
  drm/xe: Refactor emit_xy_fast_copy and emit_mem_copy functions

 .../gpu/drm/xe/instructions/xe_gpu_commands.h |  4 +-
 drivers/gpu/drm/xe/tests/xe_migrate.c         |  2 +-
 drivers/gpu/drm/xe/xe_migrate.c               | 57 +++++++++++++++----
 3 files changed, 47 insertions(+), 16 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-05-12  5:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 12:37 [PATCH v2 0/3] Refactor functions implementing the blt batch buffer Balasubramani Vivekanandan
2026-05-11 12:37 ` [PATCH v2 1/3] drm/xe: Refactor emit_clear_main_copy Balasubramani Vivekanandan
2026-05-11 19:30   ` Matt Roper
2026-05-11 12:37 ` [PATCH v2 2/3] drm/xe: Refactor emit_clear_link_copy Balasubramani Vivekanandan
2026-05-11 19:34   ` Matt Roper
2026-05-11 12:37 ` [PATCH v2 3/3] drm/xe: Refactor emit_xy_fast_copy and emit_mem_copy functions Balasubramani Vivekanandan
2026-05-11 19:45   ` Matt Roper
2026-05-11 17:25 ` ✓ CI.KUnit: success for Refactor functions implementing the blt batch buffer (rev2) Patchwork
2026-05-11 18:16 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-11 20:29 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-05-12  5:27   ` Vivekanandan, Balasubramani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox