Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8453580c authored by Hanno Böck's avatar Hanno Böck Committed by Daniel Vetter
Browse files

drm/i915: Fix command parser table validator



As we may like to use a bisection search on the tables in future, we
need them to be ordered. For convenience we expect the compiled tables
to be order and check on initialisation. However, the validator used the
wrong iterators failed to spot the misordered MI tables and instead
walked off into the unknown (as spotted by kasan).

Signed-off-by: default avatarHanno Boeck <hanno@hboeck.de>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
[danvet: Again hand-assemble patch ...]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 9f58582c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment