<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>On 15.05.2025 10:36, Zbigniew KempczyĆski wrote:</p>
<blockquote type="cite" cite="mid:imbnou2uahpw276ewjvighty2mz4x3p3bihrmlben4o4btsr52@izy5eroo52mf">
<pre wrap="" class="moz-quote-pre">On Tue, May 13, 2025 at 11:52:52AM +0000, Jan Sokolowski wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">As PVC doesn't have render, these tests will fail by definition.
Skip render tests on PVC.
Signed-off-by: Jan Sokolowski <a class="moz-txt-link-rfc2396E" href="mailto:jan.sokolowski@intel.com"><jan.sokolowski@intel.com></a>
---
tests/intel/xe_render_copy.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/intel/xe_render_copy.c b/tests/intel/xe_render_copy.c
index fadfd162c..c36520c92 100644
--- a/tests/intel/xe_render_copy.c
+++ b/tests/intel/xe_render_copy.c
@@ -697,6 +697,10 @@ igt_main_args(<a class="moz-txt-link-rfc2396E" href="dpiW:H:">"dpiW:H:"</a>, NULL, help_str, opt_handler, NULL)
igt_fixture {
xe = drm_open_driver(DRIVER_XE);
+
+ /* As PVC doesn't have render, we should skip here */
+ igt_require(!IS_PONTEVECCHIO(xe_dev_id(xe)));
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
Please add is_render_supported() helper below render_supports_tiling().
Checking cmds_info->render_tilings is enough to determine if render is supported.
--
Zbigniew
</pre>
</blockquote>
<p><br>
</p>
<p>Or possibly just</p>
<pre style="margin: 0px; padding: 9px 12px; max-height: 30em; overflow: auto; white-space: pre; overflow-wrap: normal; word-break: normal; color: rgb(23, 43, 77); font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(244, 245, 247); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">+ igt_require(xe_has_engine_class(xe, DRM_XE_ENGINE_CLASS_RENDER));
</pre>
<p></p>
<p>after the drm_open_driver().</p>
<p><br>
</p>
<p>Maciej<br>
</p>
<blockquote type="cite" cite="mid:imbnou2uahpw276ewjvighty2mz4x3p3bihrmlben4o4btsr52@izy5eroo52mf">
<pre wrap="" class="moz-quote-pre">
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">+
bops = buf_ops_create(xe);
srand(time(NULL));
set = xe_get_memory_region_set(xe, DRM_XE_MEM_REGION_CLASS_SYSMEM);
--
2.34.1
</pre>
</blockquote>
</blockquote>
</body>
</html>