drm/i915: Squelch overzealous uncore reset WARN_ON
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 5 Feb 2015 15:45:42 +0000 (17:45 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 9 Feb 2015 12:35:49 +0000 (14:35 +0200)
commit3225b2f95dbb9981be9e2002e49cd8abf0d8d01a
tree6682204cd1cc362820b27da51ad6b285366dd174
parentebbc7546d2099c94ff2ea940ae5ce740e512a66d
drm/i915: Squelch overzealous uncore reset WARN_ON

We added this WARN_ON to guard against using uninitialized
forcewake domains. But forgot blissfully that not all
gens have forcewake domains in the first place.

v2: Move WARN_ON to fw_domains_init (Chris)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88911
Tested-by: Ding Heng <hengx.ding@intel.com> (v1)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[Jani: add comment above WARN_ON as suggested by Chris]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_uncore.c