[igt-dev] [PATCH i-g-t v15 05/15] Add MI_SET_APPID instruction definition
Alan Previn
alan.previn.teres.alexis at intel.com
Tue Oct 5 19:41:23 UTC 2021
Add MI_SET_APPID instruction and param definitions
Signed-off-by: Alan Previn <alan.previn.teres.alexis at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
lib/intel_reg.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/intel_reg.h b/lib/intel_reg.h
index ac1fc6cb..ab01a283 100644
--- a/lib/intel_reg.h
+++ b/lib/intel_reg.h
@@ -2546,6 +2546,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define CTXT_PALETTE_SAVE_DISABLE (1<<3)
#define CTXT_PALETTE_RESTORE_DISABLE (1<<2)
+#define MI_SET_APPID (0x0E << 23)
+#define APPID_CTXREST_INHIBIT (1 << 9)
+#define APPID_CTXSAVE_INHIBIT (1 << 8)
+#define APPTYPE(n) ((n) << 7)
+#define DISPLAY_APPTYPE (0)
+#define TRANSCODE_APPTYPE (1)
+#define APPID(n) ((n) & 0x7f)
+
/* Dword 0 */
#define MI_VERTEX_BUFFER (0x17<<23)
#define MI_VERTEX_BUFFER_IDX(x) (x<<20)
--
2.25.1
More information about the igt-dev
mailing list