drm/i915: Catch non-existent registers in find_fw_domain
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 7 Dec 2016 14:22:39 +0000 (16:22 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 8 Dec 2016 07:37:23 +0000 (09:37 +0200)
commit991914274bdde1e0de28cadc8eca4c736ec3fd07
treecec05bd18a374a7dfd93ae47b512805bbcae905c
parent73f67aa8cc3c0ab7299f2fc81049a7d8d934fef8
drm/i915: Catch non-existent registers in find_fw_domain

Add WARN_ON to find_fw_domain to registers related to uninitialized
hardware.

v2:
- Print the uninitialized domains and register (Chris)

Cc: Imre Deak <imre.deak@intel.com>
Cc: Wang Elaine <elaine.wang@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1481120559-17413-1-git-send-email-joonas.lahtinen@linux.intel.com
drivers/gpu/drm/i915/intel_uncore.c