Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2 0/3] Start using intel_gpu_commands.h header
Date: Tue,  7 Mar 2023 11:45:16 +0100	[thread overview]
Message-ID: <20230307104519.706553-1-zbigniew.kempczynski@intel.com> (raw)

Reduce code duplication by using kernel intel_gpu_commands.h header.

v2: Address review comments (Kamil)

Zbigniew Kempczyński (3):
  intel_gpu_commands: Use kernel gpu command definitions
  lib/huc_copy: Rename to avoid macro name clash
  igt: Remove duplicated macros

 benchmarks/gem_wsim.c                    |   6 +-
 include/intel_gpu_commands.h             | 470 +++++++++++++++++++++++
 include/intel_gpu_commands_staging.h     |  18 +
 include/linux/bitops.h                   |  22 ++
 include/linux_scaffold.h                 |  54 +++
 lib/gen4_render.h                        |   2 -
 lib/gen7_media.h                         |   2 -
 lib/gen7_render.h                        |   3 -
 lib/gen8_media.h                         |   2 -
 lib/huc_copy.c                           |   6 +-
 lib/huc_copy.h                           |   2 +-
 lib/i830_reg.h                           |  16 -
 lib/i915/i915_blt.h                      |   4 +-
 lib/i915/i915_crc.c                      |  15 +-
 lib/igt_draw.c                           |   4 +-
 lib/igt_dummyload.c                      |   2 +-
 lib/igt_store.c                          |   2 +-
 lib/intel_allocator.h                    |   8 +-
 lib/intel_aux_pgtable.c                  |   5 +-
 lib/intel_batchbuffer.c                  |  12 +-
 lib/intel_bufops.c                       |   7 +
 lib/intel_reg.h                          |  69 +---
 lib/ioctl_wrappers.h                     |   4 +-
 lib/rendercopy_gen9.c                    |   9 +-
 meson.build                              |   2 +-
 tests/i915/api_intel_bb.c                |   2 +-
 tests/i915/gem_blits.c                   |  20 +-
 tests/i915/gem_busy.c                    |   8 +-
 tests/i915/gem_ccs.c                     |   2 +-
 tests/i915/gem_ctx_shared.c              |   4 +-
 tests/i915/gem_exec_async.c              |   2 +-
 tests/i915/gem_exec_balancer.c           |  23 +-
 tests/i915/gem_exec_capture.c            |   4 +-
 tests/i915/gem_exec_endless.c            |  13 +-
 tests/i915/gem_exec_fair.c               |  18 +-
 tests/i915/gem_exec_fence.c              |  43 +--
 tests/i915/gem_exec_flush.c              |   6 +-
 tests/i915/gem_exec_gttfill.c            |   2 +-
 tests/i915/gem_exec_nop.c                |   4 +-
 tests/i915/gem_exec_parallel.c           |   2 +-
 tests/i915/gem_exec_params.c             |   4 +-
 tests/i915/gem_exec_reloc.c              |  29 +-
 tests/i915/gem_exec_schedule.c           |  43 +--
 tests/i915/gem_exec_store.c              |   6 +-
 tests/i915/gem_exec_suspend.c            |   2 +-
 tests/i915/gem_exec_whisper.c            |   2 +-
 tests/i915/gem_pipe_control_store_loop.c |  11 +-
 tests/i915/gem_pxp.c                     |   7 +-
 tests/i915/gem_ringfill.c                |   2 +-
 tests/i915/gem_softpin.c                 |  16 +-
 tests/i915/gem_sync.c                    |  16 +-
 tests/i915/gem_userptr_blits.c           |   6 +-
 tests/i915/gem_vm_create.c               |   2 +-
 tests/i915/gem_watchdog.c                |   6 +-
 tests/i915/gem_workarounds.c             |   2 +-
 tests/i915/gen7_exec_parse.c             |  34 +-
 tests/i915/gen9_exec_parse.c             |  47 +--
 tests/i915/i915_module_load.c            |   2 +-
 tests/i915/perf.c                        |  17 +-
 tests/i915/perf_pmu.c                    |  18 +-
 tests/i915/sysfs_timeslice_duration.c    |  17 +-
 tests/prime_vgem.c                       |   2 +-
 tools/intel_audio_dump.c                 |   1 +
 tools/intel_reg.c                        |   2 +-
 64 files changed, 775 insertions(+), 418 deletions(-)
 create mode 100644 include/intel_gpu_commands.h
 create mode 100644 include/intel_gpu_commands_staging.h
 create mode 100644 include/linux/bitops.h
 create mode 100644 include/linux_scaffold.h

-- 
2.34.1

             reply	other threads:[~2023-03-07 10:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07 10:45 Zbigniew Kempczyński [this message]
2023-03-07 10:45 ` [igt-dev] [PATCH i-g-t v2 1/3] intel_gpu_commands: Use kernel gpu command definitions Zbigniew Kempczyński
2023-03-07 14:30   ` Kamil Konieczny
2023-03-07 10:45 ` [igt-dev] [PATCH i-g-t v2 2/3] lib/huc_copy: Rename to avoid macro name clash Zbigniew Kempczyński
2023-03-07 14:32   ` Kamil Konieczny
2023-03-07 10:45 ` [igt-dev] [PATCH i-g-t v2 3/3] igt: Remove duplicated macros Zbigniew Kempczyński
2023-03-07 15:07   ` Kamil Konieczny
2023-03-07 11:49 ` [igt-dev] ✓ Fi.CI.BAT: success for Start using intel_gpu_commands.h header (rev2) Patchwork
2023-03-08 10:48 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230307104519.706553-1-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox