[PATCH 4/4] XXX

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 22 22:50:06 UTC 2018


---
 drivers/gpu/drm/i915/intel_engine_cs.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c
index 117667cfbda1..7fa5a592f0e9 100644
--- a/drivers/gpu/drm/i915/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/intel_engine_cs.c
@@ -1195,14 +1195,8 @@ bool intel_engine_can_store_dword(struct intel_engine_cs *engine)
 	case 3:
 		/* maybe only uses physical not virtual addresses */
 		return !(IS_I915G(engine->i915) || IS_I915GM(engine->i915));
-	case 4:
-	case 5:
-		/* no known limitations */
-		return true;
-	case 6:
-		return engine->class != VIDEO_DECODE_CLASS; /* b0rked */
 	default:
-		return engine->class != VIDEO_ENHANCEMENT_CLASS;/* incoherent */
+		return engine->class == RENDER_CLASS; /* else incoherent */
 	}
 }
 
-- 
2.19.1



More information about the Intel-gfx-trybot mailing list