commit | 47188574a966b9b9ba0aa5a0fa88d934a331dc07 | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 09:29:27 2016 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 11:09:59 2016 +0100 |
tree | ba8d341263d1bea03dc58a8afecfcaec0e4f52ff | |
parent | 22d48c55ba5fbc9ecff51b0bdca829abd2b508cb [diff] |
drm/i915: Sort the shadow register table Also verify the order at runtime. This was we can start using binary search on it in a following patch. v2: Add comment on the sorted array and only check it when debug option is enabled. v3: Use IS_ENABLED. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> (v1) Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>