summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_guc_reg.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-18 20:03:24 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-30 10:20:13 +0200
commitab9cc558a3d793b8643846940f16faa440f7d32b (patch)
treec3ed00584bc23763727243741d29b49f8562c417 /drivers/gpu/drm/i915/i915_guc_reg.h
parent7949dd47ba58e0fb7effd4651afa4468ba240460 (diff)
downloadtalos-obmc-linux-ab9cc558a3d793b8643846940f16faa440f7d32b.tar.gz
talos-obmc-linux-ab9cc558a3d793b8643846940f16faa440f7d32b.zip
drm/i915: Parametrize UOS_RSA_SCRATCH
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_guc_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_guc_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_guc_reg.h b/drivers/gpu/drm/i915/i915_guc_reg.h
index b35566164c4d..c4cb1c0c4d0d 100644
--- a/drivers/gpu/drm/i915/i915_guc_reg.h
+++ b/drivers/gpu/drm/i915/i915_guc_reg.h
@@ -41,7 +41,7 @@
#define SOFT_SCRATCH(n) (0xc180 + ((n) * 4))
-#define UOS_RSA_SCRATCH_0 0xc200
+#define UOS_RSA_SCRATCH(i) (0xc200 + (i) * 4)
#define DMA_ADDR_0_LOW 0xc300
#define DMA_ADDR_0_HIGH 0xc304
#define DMA_ADDR_1_LOW 0xc308
OpenPOWER on IntegriCloud