summaryrefslogtreecommitdiff
path: root/tests/intel-ci
diff options
context:
space:
mode:
authorSally Qi <feng.qi@intel.com>2020-07-14 13:33:44 -0700
committerAntonio Argenziano <antonio.argenziano@intel.com>2020-07-15 11:00:20 -0700
commit32f8759b75ba5a06520f220d5d982b12d0cebd9f (patch)
tree0b2d19fed41f63cdb1e21ec29da267dbcac9677b /tests/intel-ci
parent21f8204e54c122e4a0f8ca4b59e4b2db8d1ba687 (diff)
tests/i915/gem_huc_copy: Enable a HuC copy test
This test case loads the HuC copy firmware to copy the content of the source buffer to the destination buffer. v2: (Tony Ye) * Restructured some functions and files. * Defined the copy buffer size as 4K explicitly as the HuC Copy kernel always copy 4K bytes from src buffer to dst buffer. v3: (Feng Qi, Antonio Argenziano, Tony Ye) * Restructured some functions as igt requested, exclude libdrm function call. * Remove huc function wrappers * Random initialize source input buffer v4: (Robert Fosha) * Fix autotools build failure. v5: (Feng Qi, Tony Ye) * Released all bo buffer after huc copying. * Restructured huc_copy() function. v6: (Feng Qi) * Fixed the function of huc enabling and status check * Added huc_copy to fast feedback testlist v7: (Tony Ye, Feng Qi, Robert Fosha, Chris Wilson, Michal Wajdeczko) * Check error with HUC_STATUS ioctl instead of debugfs v8: (Antonio Argenziano) * Remove unnecessary variable. * Add huc_load subtest. * Move failure checks out of igt_fixture. * get_huc_status() returns errno and then status as a parameter v9: (Antonio Argenziano) * Remove huc_load subtest - to be added later. v10: * Rebase * Remove huc_load subtest from fast-feedback.testlist. Signed-off-by: Feng Qi <feng.qi@intel.com> Signed-off-by: Tony Ye <tony.ye@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'tests/intel-ci')
-rw-r--r--tests/intel-ci/fast-feedback.testlist1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 04f6affc..5b000510 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -28,6 +28,7 @@ igt@gem_flink_basic@bad-open
igt@gem_flink_basic@basic
igt@gem_flink_basic@double-flink
igt@gem_flink_basic@flink-lifetime
+igt@gem_huc_copy@huc_copy
igt@gem_linear_blits@basic
igt@gem_mmap@basic
igt@gem_mmap_gtt@basic