We didn't used to be aware that runlist/engine IDs weren't the same thing, or that there was such variability in configuration between GPUs. By exposing this information to a client, and giving it explicit control of which runlist it's allocating a channel on, we're able to make better choices. The immediate effect of this is that on GPUs where CE0 is the "GRCE", we will now be allocating a copy engine running asynchronously to GR for BO migrations - as intended. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
18 lines
405 B
C
18 lines
405 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NVIF_CLA06F_H__
|
|
#define __NVIF_CLA06F_H__
|
|
|
|
struct kepler_channel_gpfifo_a_v0 {
|
|
__u8 version;
|
|
__u8 pad01[1];
|
|
__u16 chid;
|
|
__u32 ilength;
|
|
__u64 ioffset;
|
|
__u64 runlist;
|
|
__u64 vmm;
|
|
};
|
|
|
|
#define NVA06F_V0_NTFY_NON_STALL_INTERRUPT 0x00
|
|
#define NVA06F_V0_NTFY_KILLED 0x01
|
|
#endif
|