Re: [Intel-gfx] [PATCH 03/10] drm/i915: Strip out internal priorities

2021-01-21 Thread Andi Shyti
Hi Chris, > -static void __bump_priority(struct i915_sched_node *node, unsigned int bump) > -{ > - struct i915_sched_attr attr = node->attr; > - > - if (attr.priority & bump) > - return; > - > - attr.priority |= bump; > - __i915_schedule(node, &attr); > -} > - > -void i

Re: [Intel-gfx] [PATCH 03/10] drm/i915: Strip out internal priorities

2021-01-21 Thread Chris Wilson
Quoting Andi Shyti (2021-01-21 15:23:51) > Hi Chris, > > > -static void __bump_priority(struct i915_sched_node *node, unsigned int > > bump) > > -{ > > - struct i915_sched_attr attr = node->attr; > > - > > - if (attr.priority & bump) > > - return; > > - > > - attr.priority

[Intel-gfx] [PATCH 03/10] drm/i915: Strip out internal priorities

2021-01-20 Thread Chris Wilson
Since we are not using any internal priority levels, and in the next few patches will introduce a new index for which the optimisation is not so lear cut, discard the small table within the priolist. Signed-off-by: Chris Wilson --- .../gpu/drm/i915/gt/intel_engine_heartbeat.c | 2 +- .../drm/i