public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2 0/7] Make gpgpu fill tests libdrm independent
@ 2020-05-15  6:44 Zbigniew Kempczyński
  2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 1/7] lib/intel_bufops: Add bufops reference and relaxate stride requirement Zbigniew Kempczyński
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-15  6:44 UTC (permalink / raw)
  To: igt-dev; +Cc: Chris Wilson

I've introduced intel_bb which is very simplified version of libdrm
powered intel_batchbuffer. Currently it supports simple relocation
but it is enough to cover all gpgpu fill needs. Other (fenced) 
relocation will be added when I will have to face with such pipelines /
batchbuffers.

I think there're two possibilities - iterate until functions with 
suffix "_v2" will be ready to be replaced older libdrm versions or when 
patch will be mature enough to merge and add other gens one by one
with final replacement of "_v2" to "" on the end. I'm looking forward
review comments and suggestions. 

v2: changes according to the review:
    - make intel_bb api more consistent and universal
    - add intel_bb api documentation
    - add alignment field in buf_ops buffer initalization for linear
      buffers

Cc: Chris Wilson <chris@chris-wilson.co.uk>

Zbigniew Kempczyński (7):
  lib/intel_bufops: Add bufops reference and relaxate stride requirement
  lib/rendercopy_bufmgr: Pass alignment during buffer initialization
  lib/intel_batchbuffer: Introduce intel_bb
  lib/intel_batchbuffer: Introduce temporary igt_fillfunc_v2_t
  lib/gpu_cmds: Add gpgpu pipeline functions based on intel_bb
  lib/gpgpu_fill: libdrm-free gpgpu pipeline creation for gen7
  tests/gem_gpgpu_fill: Add gen7 version without libdrm dependency

 lib/gpgpu_fill.c            |  49 +++++
 lib/gpgpu_fill.h            |   8 +
 lib/gpu_cmds.c              | 342 ++++++++++++++++++++++++++++++++++
 lib/gpu_cmds.h              |  33 ++++
 lib/intel_batchbuffer.c     | 356 ++++++++++++++++++++++++++++++++++++
 lib/intel_batchbuffer.h     |  90 +++++++++
 lib/intel_bufops.c          |  41 ++++-
 lib/intel_bufops.h          |   7 +-
 lib/rendercopy_bufmgr.c     |   4 +-
 tests/i915/gem_gpgpu_fill.c | 127 ++++++++++---
 10 files changed, 1016 insertions(+), 41 deletions(-)

-- 
2.26.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2020-05-15 11:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-15  6:44 [igt-dev] [PATCH i-g-t v2 0/7] Make gpgpu fill tests libdrm independent Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 1/7] lib/intel_bufops: Add bufops reference and relaxate stride requirement Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 2/7] lib/rendercopy_bufmgr: Pass alignment during buffer initialization Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 3/7] lib/intel_batchbuffer: Introduce intel_bb Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 4/7] lib/intel_batchbuffer: Introduce temporary igt_fillfunc_v2_t Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 5/7] lib/gpu_cmds: Add gpgpu pipeline functions based on intel_bb Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 6/7] lib/gpgpu_fill: libdrm-free gpgpu pipeline creation for gen7 Zbigniew Kempczyński
2020-05-15  6:44 ` [igt-dev] [PATCH i-g-t v2 7/7] tests/gem_gpgpu_fill: Add gen7 version without libdrm dependency Zbigniew Kempczyński
2020-05-15 10:04 ` [igt-dev] ✓ Fi.CI.BAT: success for Make gpgpu fill tests libdrm independent (rev2) Patchwork
2020-05-15 11:44 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork

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