summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorMichael H. Nguyen <michael.h.nguyen@intel.com>2014-11-21 09:35:36 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-10 17:47:21 +0100
commit86ef630d53d6ae93f4a83fc3bfebaa111f8f83ce (patch)
treeb6c413cd49a3aefbc321e4124b730c2b55f80315 /drivers/gpu/drm/i915/i915_reg.h
parent7ff0ebcc1e30e3216c8c62ee71f59ac830b10364 (diff)
downloadlwn-86ef630d53d6ae93f4a83fc3bfebaa111f8f83ce.tar.gz
lwn-86ef630d53d6ae93f4a83fc3bfebaa111f8f83ce.zip
drm/i915: Add MI_SET_APPID cmd to cmd parser tables
Was missing. Issue: VIZ-4701 Signed-off-by: Michael H. Nguyen <michael.h.nguyen@intel.com> Reviewed-by: Jon Bloomfield <jon.bloomfield@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 869e5ae1b011..aa628998f836 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -207,6 +207,8 @@
#define INSTR_SUBCLIENT_SHIFT 27
#define INSTR_SUBCLIENT_MASK 0x18000000
#define INSTR_MEDIA_SUBCLIENT 0x2
+#define INSTR_26_TO_24_MASK 0x7000000
+#define INSTR_26_TO_24_SHIFT 24
/*
* Memory interface instructions used by the kernel
@@ -236,6 +238,7 @@
#define MI_BATCH_BUFFER_END MI_INSTR(0x0a, 0)
#define MI_SUSPEND_FLUSH MI_INSTR(0x0b, 0)
#define MI_SUSPEND_FLUSH_EN (1<<0)
+#define MI_SET_APPID MI_INSTR(0x0e, 0)
#define MI_OVERLAY_FLIP MI_INSTR(0x11, 0)
#define MI_OVERLAY_CONTINUE (0x0<<21)
#define MI_OVERLAY_ON (0x1<<21)