Tvrtko Ursulin 47188574a9 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>
2016-10-04 11:09:59 +01:00
..
2016-08-12 10:41:46 +02:00
2016-07-29 09:59:30 +02:00
2016-07-29 09:59:30 +02:00
2016-07-02 15:56:01 +10:00
2016-06-21 21:58:12 +02:00
2016-06-21 21:43:46 +02:00