]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/include/nvif/cla06f.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / include / nvif / cla06f.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVIF_CLA06F_H__
3 #define __NVIF_CLA06F_H__
4
5 struct kepler_channel_gpfifo_a_v0 {
6 __u8 version;
7 __u8 pad01[5];
8 __u16 chid;
9 #define NVA06F_V0_ENGINE_SW 0x00000001
10 #define NVA06F_V0_ENGINE_GR 0x00000002
11 #define NVA06F_V0_ENGINE_SEC 0x00000004
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
16 #define NVA06F_V0_ENGINE_VIC 0x00000100
17 #define NVA06F_V0_ENGINE_NVDEC 0x00000200
18 #define NVA06F_V0_ENGINE_NVENC0 0x00000400
19 #define NVA06F_V0_ENGINE_NVENC1 0x00000800
20 #define NVA06F_V0_ENGINE_CE0 0x00010000
21 #define NVA06F_V0_ENGINE_CE1 0x00020000
22 #define NVA06F_V0_ENGINE_CE2 0x00040000
23 __u32 engines;
24 __u32 ilength;
25 __u64 ioffset;
26 __u64 vm;
27 };
28
29 #define NVA06F_V0_NTFY_NON_STALL_INTERRUPT 0x00
30 #define NVA06F_V0_NTFY_KILLED 0x01
31 #endif