On Thu, Apr 27, 2017 at 12:01:11PM +0300, Joonas Lahtinen wrote: > Pre-calculate engine context size based on engine class and device > generation and store it in the engine instance. > > v2: > - Squash and get rid of hw_context_size (Chris) > > v3: > - Move after MMIO init for probing on Gen7 and 8 (Chris) > - Retained rounding (Tvrtko) > > Signed-off-by: Joonas Lahtinen <[email protected]> > Cc: Paulo Zanoni <[email protected]> > Cc: Rodrigo Vivi <[email protected]> > Cc: Chris Wilson <[email protected]> > Cc: Daniele Ceraolo Spurio <[email protected]> > Cc: Tvrtko Ursulin <[email protected]> > Cc: Oscar Mateo <[email protected]> > Cc: Zhenyu Wang <[email protected]> > Cc: [email protected] > Acked-by: Tvrtko Ursulin <[email protected]> > Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Chris Wilson <[email protected]>
Lgtm, though I did wish you would kill HAS_HW_CONTEXT after all that. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
