From: ranjeet1.kumar@intel.com
To: igt-dev@lists.freedesktop.org, ranjeet1.kumar@intel.com,
jari.tahvanainen@intel.com
Subject: [igt-dev] [PATCH] [PATCH i-g-t] i915/gem_set_tilling_vs_gtt: Minor Changes
Date: Thu, 26 Mar 2020 10:32:08 +0530 [thread overview]
Message-ID: <20200326050208.29377-1-ranjeet1.kumar@intel.com> (raw)
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
next reply other threads:[~2020-03-26 5:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 5:02 ranjeet1.kumar [this message]
2020-03-26 10:08 ` [igt-dev] ✗ GitLab.Pipeline: warning for i915/gem_set_tilling_vs_gtt: Minor Changes Patchwork
2020-03-26 10:30 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2020-03-27 5:56 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20200326050208.29377-1-ranjeet1.kumar@intel.com \
--to=ranjeet1.kumar@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jari.tahvanainen@intel.com \
/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