drm/i915: Simplify NEEDS_WaRsDisableCoarsePowerGating
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Nov 2019 12:27:55 +0000 (12:27 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Nov 2019 16:43:33 +0000 (16:43 +0000)
commit90eb7d2aa3ce2d0c4d680ba53542317938f653b1
treea6fcb8e0a6f5b745994569a00ac0885473214f8c
parentd96bb620fc8b8dd855fb5bea88644034371b64bb
drm/i915: Simplify NEEDS_WaRsDisableCoarsePowerGating

It applies to all gen9 and gen10 now, so we can use a single test
against the gen bitmask.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115122755.830355-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h