[Intel-gfx] [PATCH 11/27] drm/i915/icl: Gen11 render context size

Paulo Zanoni paulo.r.zanoni at intel.com
Tue Jan 9 23:28:19 UTC 2018


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

The current size may be bigger than the correct one, this needs to be
revisited later.

v2: Rebase.

Acked-by: Ben Widawsky <benjamin.widawsky at intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 drivers/gpu/drm/i915/intel_engine_cs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c
index e88b2fd44724..a373bcbd85d8 100644
--- a/drivers/gpu/drm/i915/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/intel_engine_cs.c
@@ -181,6 +181,8 @@ __intel_engine_context_size(struct drm_i915_private *dev_priv, u8 class)
 		switch (INTEL_GEN(dev_priv)) {
 		default:
 			MISSING_CASE(INTEL_GEN(dev_priv));
+		case 11:
+			/* TODO: Make sure this is correct. */
 		case 10:
 			return GEN10_LR_CONTEXT_RENDER_SIZE;
 		case 9:
-- 
2.14.3



More information about the Intel-gfx mailing list