drm/i915: Enum forcewake domains and domain identifiers
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 16 Jan 2015 09:34:41 +0000 (11:34 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:57 +0000 (09:50 +0100)
commit48c1026a9eab9f3b3e35484fb1d2ee26d7587b36
treec00bc82ac32be3716ca30272a5fcab5eba073655
parent59bad947180ddc22665e8b2b5f8f9ef65e8aab7f
drm/i915: Enum forcewake domains and domain identifiers

Make the domains and domain identifiers enums. To emphasize
the difference in order to avoid mistakes.

v2: s/fw_domain/forcewake_domain (Jani)
v3: rebase

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c