public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_set_tilling_vs_gtt: Minor Changes
@ 2020-03-26  5:02 ranjeet1.kumar
  2020-03-26 10:08 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ranjeet1.kumar @ 2020-03-26  5:02 UTC (permalink / raw)
  To: igt-dev, ranjeet1.kumar, jari.tahvanainen

From: ranjeet kumar <ranjeet1.kumar@intel.com>

Check for the correct tilling and set domains in both scenario untile and tile.
Changes the function syntax call and used actual driver i915.

Cc: Tahvanainen Jari <jari.tahvanainen@intel.com>
Signed-off-by: ranjeet kumar <ranjeet1.kumar@intel.com>
---
 tests/i915/gem_set_tiling_vs_gtt.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_set_tiling_vs_gtt.c b/tests/i915/gem_set_tiling_vs_gtt.c
index cee9c02c..38614192 100644
--- a/tests/i915/gem_set_tiling_vs_gtt.c
+++ b/tests/i915/gem_set_tiling_vs_gtt.c
@@ -58,8 +58,11 @@ igt_simple_main
 
 	fd = drm_open_driver(DRIVER_INTEL);
 	igt_require(gem_available_fences(fd) > 0);
-	igt_require(gem_has_mappable_ggtt(fd));
-
+	void gem_require_mappable_ggtt(int i915)
+	{
+		igt_require_f(gem_has_mappable_ggtt(i915),
+			      "HW & kernel support for indirect detiling aperture\n");
+	}	
 	if (IS_GEN2(intel_get_drm_devid(fd)))
 		tile_height = 16;
 	else
-- 
2.25.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2020-03-27  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-26  5:02 [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_set_tilling_vs_gtt: Minor Changes ranjeet1.kumar
2020-03-26 10:08 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
2020-03-26 10:30 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2020-03-27  5:56 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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