On Wed, 23 Dec 2020 at 11:11, Chris Wilson <[email protected]> wrote: > > Rather than going back and forth between the rb_node entry and the > virtual_engine type, store the ve local and reuse it. As the > container_of conversion from rb_node to virtual_engine requires a > variable offset, performing that conversion just once shaves off a bit > of code. > > v2: Keep a single virtual engine lookup, for typical use. > > Signed-off-by: Chris Wilson <[email protected]> > Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Matthew Auld <[email protected]> _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 01/62] drm/i915/gt: Replace direct submit ... Chris Wilson
- [Intel-gfx] [PATCH 02/62] drm/i915/gt: Use virtual_engin... Chris Wilson
- Re: [Intel-gfx] [PATCH 02/62] drm/i915/gt: Use virtu... Matthew Auld
- [Intel-gfx] [PATCH 62/62] drm/i915: Mark up protected us... Chris Wilson
- [Intel-gfx] [PATCH 55/62] drm/i915/gt: Couple tasklet sc... Chris Wilson
- [Intel-gfx] [PATCH 27/62] drm/i915: Restructure priority... Chris Wilson
- [Intel-gfx] [PATCH 56/62] drm/i915/gt: Support creation ... Chris Wilson
- [Intel-gfx] [PATCH 12/62] drm/i915: Drop i915_request.lo... Chris Wilson
- [Intel-gfx] [PATCH 14/62] drm/i915/gem: Reduce ctx->e... Chris Wilson
- [Intel-gfx] [PATCH 45/62] drm/i915/gt: Support virtual e... Chris Wilson
- [Intel-gfx] [PATCH 39/62] drm/i915: Replace priolist rbt... Chris Wilson
- [Intel-gfx] [PATCH 33/62] drm/i915: Extract request susp... Chris Wilson
- [Intel-gfx] [PATCH 53/62] drm/i915/gt: Use ppHWSP for un... Chris Wilson
