Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens
@ 2022-09-28  6:06 Ville Syrjala
  2022-09-28  6:06 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_frontbuffer_tracking: Convert DRRS over to per-crtc/connector debugfs files Ville Syrjala
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ville Syrjala @ 2022-09-28  6:06 UTC (permalink / raw)
  To: igt-dev

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The compression status has been available on all platforms
since commit 3fd5d1ecae2d ("drm/i915: Implement fbc_status
"Compressing" info for all platforms") in the kernel. Make
use of it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/i915/kms_frontbuffer_tracking.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
index 9518c706d87d..bdf718cf073a 100644
--- a/tests/i915/kms_frontbuffer_tracking.c
+++ b/tests/i915/kms_frontbuffer_tracking.c
@@ -1415,17 +1415,11 @@ static bool fbc_supported_on_chipset(void)
 
 static void setup_fbc(void)
 {
-	int devid = intel_get_drm_devid(drm.fd);
-
 	if (!fbc_supported_on_chipset()) {
 		igt_info("Can't test FBC: not supported on this chipset\n");
 		return;
 	}
 
-	/* Early Generations are not able to report compression status. */
-	if (!AT_LEAST_GEN(devid, 7))
-		opt.fbc_check_compression = false;
-
 	fbc.can_test = true;
 
 	fbc_setup_last_action();
-- 
2.35.1

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

end of thread, other threads:[~2022-09-28 23:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28  6:06 [igt-dev] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens Ville Syrjala
2022-09-28  6:06 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_frontbuffer_tracking: Convert DRRS over to per-crtc/connector debugfs files Ville Syrjala
2022-09-28  6:53 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_frontbuffer_tracking: Check compression state on all gens Patchwork
2022-09-28 13:21 ` [igt-dev] [PATCH i-g-t 1/2] " Jani Nikula
2022-09-28 14:02   ` Ville Syrjälä
2022-09-28 23:42 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork

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