commit | ab0d24ac38e34c03a6ced9b9c458a07ab3d431ea | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue May 10 10:57:05 2016 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Wed May 11 12:27:27 2016 +0100 |
tree | 290d40d39afc6ff9502786bb121f91c683b2c2d3 | |
parent | ae5702d245c2328f1b4afa4ae7d39792a8064d48 [diff] |
drm/i915: Promote IS_BROADWELL to a simple macro If we allow it a dedicated flag in dev_priv we enable the compiler to nicely optimize conditions like IS_HASSWELL || IS_BROADWELL. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>