From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 42E6A10E3EE for ; Wed, 27 Apr 2022 08:05:15 +0000 (UTC) From: sai.gowtham.ch@intel.com To: igt-dev@lists.freedesktop.org, sai.gowtham.ch@intel.com, kamil.konieczny@linux.intel.com Date: Wed, 27 Apr 2022 13:32:42 +0530 Message-Id: <20220427080243.4253-2-sai.gowtham.ch@intel.com> In-Reply-To: <20220427080243.4253-1-sai.gowtham.ch@intel.com> References: <20220427080243.4253-1-sai.gowtham.ch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 1/2] i915/gem_partial_pwrite_pread: Add subtests description List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Ch Sai Gowtham Add description to all the available subtests. Cc: Kamil Konieczny Signed-off-by: Apoorva Singh Signed-off-by: Ch Sai Gowtham --- tests/i915/gem_partial_pwrite_pread.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/i915/gem_partial_pwrite_pread.c b/tests/i915/gem_partial_pwrite_pread.c index 4f81d34b..474149d4 100644 --- a/tests/i915/gem_partial_pwrite_pread.c +++ b/tests/i915/gem_partial_pwrite_pread.c @@ -280,12 +280,18 @@ static void do_tests(data_t *data, int cache_level, const char *suffix) gem_set_caching(data->drm_fd, scratch_buf->handle, cache_level); } + igt_describe_f("Verify if pread is consistent while accessing partial cachelines " + "with %s caching level", cache_level == -1 ? "default" : suffix+1); igt_subtest_f("reads%s", suffix) test_partial_reads(data); + igt_describe_f("Verify if pwrite is consistent while accessing partial cachelines " + "with %s caching level", cache_level == -1 ? "default" : suffix+1); igt_subtest_f("write%s", suffix) test_partial_writes(data); + igt_describe_f("Verify if both pread, pwrite are consistent while accessing partial " + "cachelines with %s caching level", cache_level == -1 ? "default" : suffix+1); igt_subtest_f("writes-after-reads%s", suffix) test_partial_read_writes(data); } -- 2.35.1