Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] drm/i915/error: remove unused gen8_engine_sync_index
@ 2018-03-05 22:21 Daniele Ceraolo Spurio
  2018-03-05 22:21 ` [PATCH v2 2/3] drm/i915/error: standardize function style in error capture Daniele Ceraolo Spurio
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Daniele Ceraolo Spurio @ 2018-03-05 22:21 UTC (permalink / raw)
  To: intel-gfx

Leftover from Gen8 ringbuffer support removal

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_gpu_error.c | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index a7933c9b5562..ef29fb48d6d9 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -1102,27 +1102,6 @@ static void i915_gem_record_fences(struct drm_i915_private *dev_priv,
 	error->nfence = i;
 }
 
-static inline u32
-gen8_engine_sync_index(struct intel_engine_cs *engine,
-		       struct intel_engine_cs *other)
-{
-	int idx;
-
-	/*
-	 * rcs -> 0 = vcs, 1 = bcs, 2 = vecs, 3 = vcs2;
-	 * vcs -> 0 = bcs, 1 = vecs, 2 = vcs2, 3 = rcs;
-	 * bcs -> 0 = vecs, 1 = vcs2. 2 = rcs, 3 = vcs;
-	 * vecs -> 0 = vcs2, 1 = rcs, 2 = vcs, 3 = bcs;
-	 * vcs2 -> 0 = rcs, 1 = vcs, 2 = bcs, 3 = vecs;
-	 */
-
-	idx = (other - engine) - 1;
-	if (idx < 0)
-		idx += I915_NUM_ENGINES;
-
-	return idx;
-}
-
 static void gen6_record_semaphore_state(struct intel_engine_cs *engine,
 					struct drm_i915_error_engine *ee)
 {
-- 
2.16.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-03-06 10:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-05 22:21 [PATCH v2 1/3] drm/i915/error: remove unused gen8_engine_sync_index Daniele Ceraolo Spurio
2018-03-05 22:21 ` [PATCH v2 2/3] drm/i915/error: standardize function style in error capture Daniele Ceraolo Spurio
2018-03-06  1:23   ` Michel Thierry
2018-03-06  9:22   ` Chris Wilson
2018-03-06  9:48   ` Michal Wajdeczko
2018-03-06 10:00     ` Chris Wilson
2018-03-05 22:21 ` [PATCH v2 3/3] drm/i915/error: capture uc_state after gen_state Daniele Ceraolo Spurio
2018-03-06  9:23   ` Chris Wilson
2018-03-06  9:36     ` Chris Wilson
2018-03-05 22:44 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/3] drm/i915/error: remove unused gen8_engine_sync_index Patchwork
2018-03-06  6:53 ` ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox