drm/i915: Add 'offset' to uncore funcs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Nov 2015 19:47:16 +0000 (21:47 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Nov 2015 12:35:49 +0000 (14:35 +0200)
commit0670c5a688122c66ecfb0bd8cbd8067cc971a4e8
tree816aef0e5a3a763438f9b203b74b1e2257674b69
parent8a74db7a86a59ec8ccec3691d7cbfd5759bc2801
drm/i915: Add 'offset' to uncore funcs

Add 'u32 offset' to the uncore register access functions. For now
it's the same as 'reg', but once type safety gets added 'reg' will be
the type safe register variable and 'offset' the raw offset.

v2: s/uint32_t/u32/ (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446839236-20035-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_uncore.c