All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests/i915/gem_media_vme : skip on no media Samplers
@ 2021-12-30  2:09 Mastan Katragadda
  2021-12-30  2:57 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_media_vme : skip on no media Samplers (rev2) Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mastan Katragadda @ 2021-12-30  2:09 UTC (permalink / raw)
  To: igt-dev, tejaskumarx.surendrakumar.upadhyay; +Cc: mastanx.katragadda

Media samplers are not present on some of Gen11 platforms adding
skip on EHL and JSL as per Bspec.

Bspec:29151

Changes since V1 :
        Moved this skip check to igt_get_media_vme_func.[Tony Ye]

CC: Tony Ye <tony.ye@intel.com>
Signed-off-by: Mastan Katragadda <mastanx.katragadda@intel.com>
---
 lib/intel_batchbuffer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 6fc81400..10d8a6e0 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -1187,8 +1187,9 @@ igt_fillfunc_t igt_get_media_fillfunc(int devid)
 igt_vme_func_t igt_get_media_vme_func(int devid)
 {
 	igt_vme_func_t fill = NULL;
+	const struct intel_device_info *devinfo = intel_get_device_info(devid);
 
-	if (IS_GEN11(devid))
+	if (IS_GEN11(devid) && !devinfo->is_elkhartlake && !devinfo->is_jasperlake)
 		fill = gen11_media_vme_func;
 
 	return fill;
-- 
2.25.1

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

end of thread, other threads:[~2021-12-30  4:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30  2:09 [igt-dev] [i-g-t] tests/i915/gem_media_vme : skip on no media Samplers Mastan Katragadda
2021-12-30  2:57 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_media_vme : skip on no media Samplers (rev2) Patchwork
2021-12-30  4:05 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-12-30  4:29 ` [igt-dev] [i-g-t] tests/i915/gem_media_vme : skip on no media Samplers Ye, Tony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.