Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.17 18 lines 394 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2024 Intel Corporation 4 */ 5 6#ifndef _XE_GFX_STATE_COMMANDS_H_ 7#define _XE_GFX_STATE_COMMANDS_H_ 8 9#include "instructions/xe_instr_defs.h" 10 11#define GFX_STATE_OPCODE REG_GENMASK(28, 26) 12 13#define GFX_STATE_CMD(opcode) \ 14 (XE_INSTR_GFX_STATE | REG_FIELD_PREP(GFX_STATE_OPCODE, opcode)) 15 16#define STATE_WRITE_INLINE GFX_STATE_CMD(0x0) 17 18#endif