drm/i915: Move uncore definitions into a separate header
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 9 May 2017 09:20:21 +0000 (09:20 +0000)
committerMika Kuoppala <mika.kuoppala@intel.com>
Tue, 9 May 2017 13:02:47 +0000 (16:02 +0300)
commit16586fcd86c4a498bbfc2643490a5a38648e1d5e
tree96a784df0f0183357ceb5929084329892e273987
parent261aeba834f384cd9cf85be72078291d30fca4e4
drm/i915: Move uncore definitions into a separate header

In order to allow use of e.g. forcewake_domains in a other feature headers
included from the top of i915_drv.h, move all uncore related definitions
into their own header.

v2: move __mask_next_bit macro to utils header (Mika)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_utils.h
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/i915/intel_uncore.h [new file with mode: 0644]