The LRCs on some of our newer platforms appear to contain a few GPU instructions that weren't handled in our LRC parser. Add the relevant instruction names and opcodes so that our debugfs LRC dumps will properly indicate what these are. Bspec: 55866, 64848, 46931 Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Ravi Kumar Vodapalli <ravi.kumar.vodapalli@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240222184009.6857-2-matthew.d.roper@intel.com
18 lines
394 B
C
18 lines
394 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GFX_STATE_COMMANDS_H_
|
|
#define _XE_GFX_STATE_COMMANDS_H_
|
|
|
|
#include "instructions/xe_instr_defs.h"
|
|
|
|
#define GFX_STATE_OPCODE REG_GENMASK(28, 26)
|
|
|
|
#define GFX_STATE_CMD(opcode) \
|
|
(XE_INSTR_GFX_STATE | REG_FIELD_PREP(GFX_STATE_OPCODE, opcode))
|
|
|
|
#define STATE_WRITE_INLINE GFX_STATE_CMD(0x0)
|
|
|
|
#endif
|