Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] lib/i915/intel_drrs: Update DRRS capability check
@ 2024-02-21 11:23 Bhanuprakash Modem
  2024-02-21 11:23 ` [PATCH i-g-t 2/2] tests/intel/kms_dirtyfb: Fix DRRS status check Bhanuprakash Modem
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bhanuprakash Modem @ 2024-02-21 11:23 UTC (permalink / raw)
  To: igt-dev; +Cc: Bhanuprakash Modem

From debugfs "i915_drrs_status" read the DRRS capability as
"DRRS capable: yes", instead of "DRRS enabled: yes".

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 lib/i915/intel_drrs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/i915/intel_drrs.c b/lib/i915/intel_drrs.c
index 9c6aefbf6..ac8dd5e61 100644
--- a/lib/i915/intel_drrs.c
+++ b/lib/i915/intel_drrs.c
@@ -30,7 +30,7 @@ bool intel_is_drrs_supported(int device, enum pipe pipe)
 	igt_debugfs_simple_read(dir, "i915_drrs_status", buf, sizeof(buf));
 	close(dir);
 
-	return strstr(buf, "DRRS enabled: yes");
+	return strstr(buf, "DRRS capable: yes");
 }
 
 /**
-- 
2.43.0


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

end of thread, other threads:[~2024-02-27 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 11:23 [PATCH i-g-t 1/2] lib/i915/intel_drrs: Update DRRS capability check Bhanuprakash Modem
2024-02-21 11:23 ` [PATCH i-g-t 2/2] tests/intel/kms_dirtyfb: Fix DRRS status check Bhanuprakash Modem
2024-02-27 13:54   ` [i-g-t,2/2] " Joshi, Kunal1
2024-02-21 11:59 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/2] lib/i915/intel_drrs: Update DRRS capability check Patchwork
2024-02-21 12:19 ` ✓ Fi.CI.BAT: " Patchwork

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