From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Subject: [PATCH i-g-t 1/2] lib/i915/intel_drrs: Update DRRS capability check
Date: Wed, 21 Feb 2024 16:53:40 +0530 [thread overview]
Message-ID: <20240221112341.2329405-1-bhanuprakash.modem@intel.com> (raw)
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
next reply other threads:[~2024-02-21 11:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 11:23 Bhanuprakash Modem [this message]
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
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=20240221112341.2329405-1-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@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