[igt-dev] [i-g-t] tests/kms: s/i915_frequency_info/i915_display_clock_info/

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Apr 12 09:05:57 UTC 2023


Read display specific clocks from i915_display_clock_info as
i915_frequency_info is no longer holding display specific stuff.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/i915/kms_cdclk.c   | 2 +-
 tests/kms_invalid_mode.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/kms_cdclk.c b/tests/i915/kms_cdclk.c
index 23d9d3b02e2..778f5116f70 100644
--- a/tests/i915/kms_cdclk.c
+++ b/tests/i915/kms_cdclk.c
@@ -61,7 +61,7 @@ static int get_current_cdclk_freq(int debugfs_fd)
 	char *start_loc;
 	int res;
 
-	res = igt_debugfs_simple_read(debugfs_fd, "i915_frequency_info",
+	res = igt_debugfs_simple_read(debugfs_fd, "i915_display_clock_info",
 				      buf, sizeof(buf));
 	igt_require(res > 0);
 
diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index 86f529e88b1..6989150c210 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -222,7 +222,7 @@ static int i915_max_dotclock(data_t *data)
 	if (!is_i915_device(data->drm_fd))
 		return 0;
 
-	igt_debugfs_read(data->drm_fd, "i915_frequency_info", buf);
+	igt_debugfs_read(data->drm_fd, "i915_display_clock_info", buf);
 	s = strstr(buf, "Max pixel clock frequency:");
 	igt_assert(s);
 	igt_assert_eq(sscanf(s, "Max pixel clock frequency: %d kHz", &max_dotclock), 1);
-- 
2.40.0



More information about the igt-dev mailing list