]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7dff131f1a6141c5ab7611382408e3f89cfc4ba
tree816aef0e5a3a763438f9b203b74b1e2257674b69
parent14979e26900560032f2494e01c36007e2761f8f1
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