Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Soham Purkait <soham.purkait@intel.com>
To: igt-dev@lists.freedesktop.org, riana.tauro@intel.com,
	vinay.belgaumkar@intel.com
Cc: anshuman.gupta@intel.com, lucas.demarchi@intel.com,
	rodrigo.vivi@intel.com, soham.purkait@intel.com
Subject: [PATCH i-g-t v1] Add support for runtime pm for xe driver
Date: Thu,  6 Mar 2025 16:57:54 +0530	[thread overview]
Message-ID: <20250306112754.1483363-1-soham.purkait@intel.com> (raw)

Add support for runtime power management
for Xe driver.

---
 tools/intel_pm_rpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/intel_pm_rpm.c b/tools/intel_pm_rpm.c
index 08c25ca8a..945247d2e 100644
--- a/tools/intel_pm_rpm.c
+++ b/tools/intel_pm_rpm.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[])
 			goto exit;
 		}
 	} else {
-		if (!igt_device_find_first_i915_discrete_card(&card)) {
+		if (!igt_device_find_first_i915_discrete_card(&card) && !igt_device_find_first_xe_discrete_card(&card)) {
 			igt_warn("No discrete gpu found\n");
 			ret = EXIT_FAILURE;
 			goto exit;
-- 
2.34.1


             reply	other threads:[~2025-03-06 11:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-06 11:27 Soham Purkait [this message]
2025-03-06 13:51 ` [PATCH i-g-t v1] Add support for runtime pm for xe driver Kamil Konieczny
2025-03-06 15:49   ` Lucas De Marchi
2025-03-06 16:06     ` Gupta, Anshuman
2025-03-06 16:25       ` Lucas De Marchi
2025-03-06 19:55         ` Rodrigo Vivi
2025-03-06 16:10 ` Rodrigo Vivi
2025-03-06 16:45   ` Gupta, Anshuman
2025-03-06 19:38     ` Rodrigo Vivi
2025-03-07  2:07 ` ✓ i915.CI.BAT: success for " Patchwork
2025-03-07  2:14 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-07  4:25 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-07 11:44 ` ✗ Xe.CI.Full: " 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=20250306112754.1483363-1-soham.purkait@intel.com \
    --to=soham.purkait@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=vinay.belgaumkar@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