[Intel-gfx] [PATCH 14/45] drm/i915: Make engine_mask & num_engines static
Chris Wilson
chris at chris-wilson.co.uk
Thu Apr 25 10:30:47 UTC 2019
Quoting Tvrtko Ursulin (2019-04-25 11:20:47)
>
> On 25/04/2019 10:19, Chris Wilson wrote:
> > Having removed the urge to modify the engine_mask at runtime, we can
> > promote the num_engines from a runtime calculation to a static and push
> > it into the device_info tables.
>
> What about fused off engines (intel_device_info_init_mmio)?
Didn't notice. :((
Plan B was just to calculate num_engines at point of use, since it is
rare enough.
Oh well, this pair of patches was just inspired because I touched the
cleanup code and not important.
-Chris
More information about the Intel-gfx
mailing list