Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@intel.com, lucas.demarchi@intel.com,
	Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t] tests/kms_histogram: Add check for ghe api call
Date: Wed,  8 Jan 2025 20:34:48 +0530	[thread overview]
Message-ID: <20250108150448.329219-1-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20250108124637.291978-1-mohammed.thasleem@intel.com>

Check ghe algo for the function called by ghe igt while compiling.

v2: Update version check and remove warning message. (Lucas)
    Print messae at api else check. (Kamil)
v3: Remove special case and update dependency declaration. (Lucas)

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 8b2a2a64a..3b6988cd6 100644
--- a/meson.build
+++ b/meson.build
@@ -197,9 +197,9 @@ else
 	chamelium = disabler()
 endif
 
-libghe = dependency('libghe', required : false)
+libghe = dependency('libghe', version : '>=0.2.0', required : false)
 if libghe.found()
-      config.set('HAVE_LIBGHE', 1)
+  config.set('HAVE_LIBGHE', 1)
 endif
 
 build_info += 'Build Chamelium test: @0@'.format(chamelium.found())
-- 
2.43.0


  parent reply	other threads:[~2025-01-08 15:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 12:46 [PATCH i-g-t] tests/kms_histogram: Add check for ghe api call Mohammed Thasleem
2025-01-08 14:17 ` Lucas De Marchi
2025-01-08 15:04 ` Mohammed Thasleem [this message]
2025-01-08 15:16   ` [PATCH i-g-t] tests/kms_histogram: Add check for libghe version Mohammed Thasleem
2025-01-08 15:20     ` Lucas De Marchi
2025-01-08 18:22 ` ✓ i915.CI.BAT: success for tests/kms_histogram: Add check for ghe api call (rev4) Patchwork
2025-01-08 19:10 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-10  5:11 ` ✓ i915.CI.Full: " Patchwork
2025-01-10 20:05 ` ✗ Xe.CI.Full: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06  9:51 [PATCH i-g-t] tests/kms_histogram: Add check for ghe api call Mohammed Thasleem
2025-01-06 17:13 ` Lucas De Marchi
2025-01-07  7:53   ` Thasleem, Mohammed
2025-01-07  9:15     ` Garg, Nemesa
2025-01-07 14:28       ` Lucas De Marchi
2025-01-08 12:50         ` Thasleem, Mohammed

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=20250108150448.329219-1-mohammed.thasleem@intel.com \
    --to=mohammed.thasleem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@intel.com \
    --cc=lucas.demarchi@intel.com \
    /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