drm/i915/tgl: Gen12 render context size
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Sat, 17 Aug 2019 09:38:48 +0000 (02:38 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Aug 2019 14:23:33 +0000 (15:23 +0100)
Re-use Gen11 context size for now.

[ Lucas: this is a temporary enabling patch that needs to be confirmed:
         we need to check BSpec 46255 and recompute ]

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190817093902.2171-27-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c

index ba457c1c7dc0a0525ac0cdb24b8781e0047cff3b..82630db0394b3b43b283bbb5212cb80b6ec87721 100644 (file)
@@ -164,6 +164,7 @@ u32 intel_engine_context_size(struct drm_i915_private *dev_priv, u8 class)
                default:
                        MISSING_CASE(INTEL_GEN(dev_priv));
                        return DEFAULT_LR_CONTEXT_RENDER_SIZE;
+               case 12:
                case 11:
                        return GEN11_LR_CONTEXT_RENDER_SIZE;
                case 10: