Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size()
@ 2024-11-28 13:05 Jan Maslak
  2024-11-28 13:05 ` [PATCH 1/3] lib/xe_query: add hwconfig to xe_device Jan Maslak
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Jan Maslak @ 2024-11-28 13:05 UTC (permalink / raw)
  To: igt-dev; +Cc: dominik.grzegorzek, jonathan.cavitt, matthew.d.roper, Jan Maslak

This patch series adds a helper function to lib/xe/xe_query for looking up 
the values of hwconfig attributes and updates the thread count handling in
the query_attention_bitmask_size().

v2: Added hwconfig to xe_device, so that its value will only be queried
    once, cached and later used by the helper function.
    Added proper commit messages.
    Fixed stylistic issues in the code.
v3: xe_hwconfig_lookup_value() returns a pointer to cached data rather
    than copying it to a new buffer that the caller would later need
    to free.
    Added assert for length returned by xe_hwconfig_lookup_value()
    in the test.
    Reworded xe_hwconfig_lookup_value() description to clarify that it
    returns the length of the value in uint32_t elements.

Jan Maslak (3):
  lib/xe_query: add hwconfig to xe_device
  lib/xe_query: add xe_hwconfig_lookup_value() helper
  tests/xe_eudebug_online: update thread count handling in
    query_attention_bitmask_size()

 lib/xe/xe_query.c               | 67 +++++++++++++++++++++++++++++++++
 lib/xe/xe_query.h               |  8 ++++
 tests/intel/xe_eudebug_online.c | 12 +++++-
 3 files changed, 85 insertions(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size()
@ 2024-11-20 22:28 Jan Maslak
  2024-11-20 22:28 ` [PATCH 2/3] lib/xe_query: add xe_hwconfig_lookup_value() helper Jan Maslak
  0 siblings, 1 reply; 11+ messages in thread
From: Jan Maslak @ 2024-11-20 22:28 UTC (permalink / raw)
  To: igt-dev; +Cc: dominik.grzegorzek, jonathan.cavitt, matthew.d.roper, Jan Maslak

This patch series adds a helper function to lib/xe/xe_query for looking up 
the values of hwconfig attributes and updates the thread count handling in
the query_attention_bitmask_size().

v2: Added hwconfig to xe_device, so that its value will only be queried once,
    cached and later used by the helper function.
    Added proper commit messages.
    Fixed stylistic issues in the code.

Jan Maslak (3):
  lib/xe_query: add hwconfig to xe_device
  lib/xe_query: add xe_hwconfig_lookup_value() helper
  tests/xe_eudebug_online: update thread count handling in
    query_attention_bitmask_size()

 lib/xe/xe_query.c               | 72 +++++++++++++++++++++++++++++++++
 lib/xe/xe_query.h               |  8 ++++
 tests/intel/xe_eudebug_online.c | 12 +++++-
 3 files changed, 90 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-11-28 17:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28 13:05 [PATCH 0/3] tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size() Jan Maslak
2024-11-28 13:05 ` [PATCH 1/3] lib/xe_query: add hwconfig to xe_device Jan Maslak
2024-11-28 13:05 ` [PATCH 2/3] lib/xe_query: add xe_hwconfig_lookup_value() helper Jan Maslak
2024-11-28 13:10   ` Grzegorzek, Dominik
2024-11-28 13:05 ` [PATCH 3/3] tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size() Jan Maslak
2024-11-28 14:22 ` ✓ Xe.CI.BAT: success for tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size() (rev3) Patchwork
2024-11-28 14:35 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-28 17:39 ` ✗ Xe.CI.Full: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-11-20 22:28 [PATCH 0/3] tests/xe_eudebug_online: update thread count handling in query_attention_bitmask_size() Jan Maslak
2024-11-20 22:28 ` [PATCH 2/3] lib/xe_query: add xe_hwconfig_lookup_value() helper Jan Maslak
2024-11-26  9:13   ` Grzegorzek, Dominik
2024-11-26  9:16     ` Grzegorzek, Dominik

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