Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
8ed1730c BS |
2 | #ifndef __NVIF_CLA06F_H__ |
3 | #define __NVIF_CLA06F_H__ | |
4 | ||
5 | struct kepler_channel_gpfifo_a_v0 { | |
6 | __u8 version; | |
1f5ff7f5 | 7 | __u8 pad01[5]; |
8ed1730c | 8 | __u16 chid; |
1f5ff7f5 BS |
9 | #define NVA06F_V0_ENGINE_SW 0x00000001 |
10 | #define NVA06F_V0_ENGINE_GR 0x00000002 | |
a8b005fd | 11 | #define NVA06F_V0_ENGINE_SEC 0x00000004 |
1f5ff7f5 BS |
12 | #define NVA06F_V0_ENGINE_MSVLD 0x00000010 |
13 | #define NVA06F_V0_ENGINE_MSPDEC 0x00000020 | |
14 | #define NVA06F_V0_ENGINE_MSPPP 0x00000040 | |
15 | #define NVA06F_V0_ENGINE_MSENC 0x00000080 | |
4a3f63f8 | 16 | #define NVA06F_V0_ENGINE_VIC 0x00000100 |
608fd040 | 17 | #define NVA06F_V0_ENGINE_NVDEC 0x00000200 |
9e4fff32 BS |
18 | #define NVA06F_V0_ENGINE_NVENC0 0x00000400 |
19 | #define NVA06F_V0_ENGINE_NVENC1 0x00000800 | |
1f5ff7f5 BS |
20 | #define NVA06F_V0_ENGINE_CE0 0x00010000 |
21 | #define NVA06F_V0_ENGINE_CE1 0x00020000 | |
22 | #define NVA06F_V0_ENGINE_CE2 0x00040000 | |
23 | __u32 engines; | |
8ed1730c BS |
24 | __u32 ilength; |
25 | __u64 ioffset; | |
26 | __u64 vm; | |
27 | }; | |
28 | ||
40cea739 | 29 | #define NVA06F_V0_NTFY_NON_STALL_INTERRUPT 0x00 |
ff9f29ab | 30 | #define NVA06F_V0_NTFY_KILLED 0x01 |
8ed1730c | 31 | #endif |