drm/i915: fix rb-tree/llist/list confusion
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 5 repliesIn review
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- instead of reverting commit 1ec23ed7126e, register engines earlier (Tvrtko)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/i915: Register engines early to avoid type confusiondrivers/ | +7 | 1 reply | |
| 2/2 | drm/i915: Clarify type evolution of uabi_node/uabi_enginesdrivers/ drivers/ drivers/ | +32 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Tvrtko Ursulin |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-gfx] [PATCH v2 0/2] drm/i915: fix rb-tree/llist/list confusion
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 this early during driver initialization. This triggered a sanity check we have in our grsecurity kernels, fixed by doing the engine registration earlier (as suggested by Tvrtko) and giving the type-multiplexed members some more visibility to avoid making a similar mistake again in the future (patch 2).
Changelog:
v1 -> v2:
- instead of reverting commit 1ec23ed7126e, register engines earlier (Tvrtko)
v1: https://lore.kernel.org/intel-gfx/[email protected]/
Please apply!
Thanks,
Mathias
Mathias Krause (2):
drm/i915: Register engines early to avoid type confusion drm/i915: Clarify type evolution of uabi_node/uabi_engines
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 ++++++++++++++++- drivers/gpu/drm/i915/i915_gem.c | 9 +++++++-- 4 files changed, 39 insertions(+), 14 deletions(-)
Signature · 1 line
2.39.2