Commit 1ec23ed7126e ("drm/i915: Use uabi engines for the default engine map") introduced a bug regarding engine iteration in default_engines() as the rb tree isn't set up yet that early during driver initialization. This triggered a sanity check we have in our grsecurity kernels, fixed by reverting the offending commit (patch 1) and giving the type-multiplexed members some more visibility to avoid making a similar mistake again in the future (patch 2). Please apply! Thanks, Mathias Mathias Krause (2): Revert "drm/i915: Use uabi engines for the default engine map" drm/i915: Clarify type evolution of uabi_node/uabi_engines drivers/gpu/drm/i915/gem/i915_gem_context.c | 9 +++++---- drivers/gpu/drm/i915/gt/intel_engine_types.h | 10 +++++++++- drivers/gpu/drm/i915/gt/intel_engine_user.c | 17 +++++++---------- drivers/gpu/drm/i915/i915_drv.h | 17 ++++++++++++++++- 4 files changed, 37 insertions(+), 16 deletions(-) -- 2.39.2