From 6975affb85314ebb83b55453d23e0e97285a7b78 Mon Sep 17 00:00:00 2001 From: Tony Ye Date: Tue, 13 Nov 2018 14:36:29 +0000 Subject: tests/gem_media_vme: Shut down half of subslices to avoid gpu hang on ICL On Icelake we need to turn off subslices not containing the VME block or the VME kernel will hang. v2: (Tvrtko Ursulin) * Remove libdrm usage for setting context param. * Cleanup bitmask operation. * Only apply the workaround for ICL. v3: (Tvrtko Ursulin) * Added hang detector. (Chris Wilson) v4: (Tvrtko Ursulin) * Rebase for hang detector moved to previous patch. * Tidy curly braces. v5: (Tvrtko Ursulin) * Whitespace tidy. (Joonas) Signed-off-by: Tony Ye Signed-off-by: Tvrtko Ursulin Cc: Tony Ye Reviewed-by: Joonas Lahtinen --- lib/media_fill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/media_fill.c') diff --git a/lib/media_fill.c b/lib/media_fill.c index b1e84727..03b5e71e 100644 --- a/lib/media_fill.c +++ b/lib/media_fill.c @@ -338,7 +338,7 @@ __gen11_media_vme_func(struct intel_batchbuffer *batch, batch_end = intel_batchbuffer_align(batch, 8); assert(batch_end < BATCH_STATE_SPLIT); - gen7_render_flush(batch, batch_end); + gen7_render_context_flush(batch, batch_end); intel_batchbuffer_reset(batch); } -- cgit v1.2.3