commit | b008123966a45bfda9ef71d35a0b76957d639291 | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 09:29:20 2016 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 11:09:59 2016 +0100 |
tree | 27be30dc8741b20249e0dfcbebdb9eac8097c308 | |
parent | 9fc1117cf8ca7a5100f2e86682cd4050a75f7f4d [diff] |
drm/i915: Sort forcewake mapping tables Sorting the tables (verified at runtime to help during development) is another prerequisite for interesting work which will follow. v2: * Remove const away cast and improve comments. (Chris Wilson) * Check tables only when debug option is enabled. v3: Use IS_ENABLED. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>