drm/i915: Promote IS_BROADWELL to a simple macro
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 10 May 2016 09:57:05 +0000 (10:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 11 May 2016 11:27:27 +0000 (12:27 +0100)
commitab0d24ac38e34c03a6ced9b9c458a07ab3d431ea
tree290d40d39afc6ff9502786bb121f91c683b2c2d3
parentae5702d245c2328f1b4afa4ae7d39792a8064d48
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>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h