drm/i915: Replace some negative Gen checks
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 9 Feb 2018 21:58:47 +0000 (21:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Feb 2018 22:29:07 +0000 (22:29 +0000)
commit0f550a21247f6029bba036c06fef8de78dddaa69
tree3380b6aaa314df822961e82dd4d84d18f984c7de
parentc56b89f16dd0e7d979399bfe94b4056103dd16a8
drm/i915: Replace some negative Gen checks

Instead of INTEL_GEN != x use !IS_GENx for more optimisation
opportunities.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180208130606.15556-16-tvrtko.ursulin@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180209215847.6660-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c