<div><br><div class="gmail_quote"><div dir="auto">On Fri, Sep 22, 2017 at 6:31 AM Rodrigo Vivi <<a href="mailto:rodrigo.vivi@intel.com">rodrigo.vivi@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 21, 2017 at 11:19:49PM +0000, Oscar Mateo wrote:<br>
> The total size of the context has decreased with the removal of the<br>
> URB_ATOMIC section. BSpec indicates 16750 DWORDs (17 pages), plus<br>
> one page for PPHWSP, and I'm throwing an extra page for precaution.<br>
<br>
I could never find this info on bspec... could you please point that to<br>
me?</blockquote><div dir="auto"><br></div><div dir="auto">Michal already pointed the doc to me!</div><div dir="auto">Now I know where that comes from! :)</div><div dir="auto"><br></div><div dir="auto">Patch Merges to dinq.</div><div dir="auto">Thanks</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Anyways this value matches with other HW engineers had told me a while<br>
ago, and we now have CNL on CI, so:<br>
<br>
Acked-by: Rodrigo Vivi <<a href="mailto:rodrigo.vivi@intel.com" target="_blank">rodrigo.vivi@intel.com</a>><br>
<br>
><br>
> Signed-off-by: Oscar Mateo <<a href="mailto:oscar.mateo@intel.com" target="_blank">oscar.mateo@intel.com</a>><br>
> Cc: Rodrigo Vivi <<a href="mailto:rodrigo.vivi@intel.com" target="_blank">rodrigo.vivi@intel.com</a>><br>
> Cc: Daniele Ceraolo Spurio <<a href="mailto:daniele.ceraolospurio@intel.com" target="_blank">daniele.ceraolospurio@intel.com</a>><br>
> Cc: Ben Widawsky <<a href="mailto:ben@bwidawsk.net" target="_blank">ben@bwidawsk.net</a>><br>
> ---<br>
> drivers/gpu/drm/i915/intel_engine_cs.c | 2 ++<br>
> 1 file changed, 2 insertions(+)<br>
><br>
> diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c<br>
> index 3d135c3..a3115f3 100644<br>
> --- a/drivers/gpu/drm/i915/intel_engine_cs.c<br>
> +++ b/drivers/gpu/drm/i915/intel_engine_cs.c<br>
> @@ -39,6 +39,7 @@<br>
><br>
> #define GEN8_LR_CONTEXT_RENDER_SIZE (20 * PAGE_SIZE)<br>
> #define GEN9_LR_CONTEXT_RENDER_SIZE (22 * PAGE_SIZE)<br>
> +#define GEN10_LR_CONTEXT_RENDER_SIZE (19 * PAGE_SIZE)<br>
><br>
> #define GEN8_LR_CONTEXT_OTHER_SIZE ( 2 * PAGE_SIZE)<br>
><br>
> @@ -150,6 +151,7 @@ struct engine_info {<br>
> default:<br>
> MISSING_CASE(INTEL_GEN(dev_priv));<br>
> case 10:<br>
> + return GEN10_LR_CONTEXT_RENDER_SIZE;<br>
> case 9:<br>
> return GEN9_LR_CONTEXT_RENDER_SIZE;<br>
> case 8:<br>
> --<br>
> 1.9.1<br>
><br>
_______________________________________________<br>
Intel-gfx mailing list<br>
<a href="mailto:Intel-gfx@lists.freedesktop.org" target="_blank">Intel-gfx@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/intel-gfx" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
</blockquote></div></div>