diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index cf75595a..8a578102 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1577,13 +1577,15 @@ struct nvgpu_cycle_stats_snapshot_args { | |||
1577 | #define NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT_CMD_ATTACH 1 | 1577 | #define NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT_CMD_ATTACH 1 |
1578 | #define NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT_CMD_DETACH 2 | 1578 | #define NVGPU_IOCTL_CHANNEL_CYCLE_STATS_SNAPSHOT_CMD_DETACH 2 |
1579 | 1579 | ||
1580 | /* disable watchdog per-channel */ | 1580 | /* configure watchdog per-channel */ |
1581 | struct nvgpu_channel_wdt_args { | 1581 | struct nvgpu_channel_wdt_args { |
1582 | __u32 wdt_status; | 1582 | __u32 wdt_status; |
1583 | __u32 padding; | 1583 | __u32 timeout_ms; |
1584 | }; | 1584 | }; |
1585 | #define NVGPU_IOCTL_CHANNEL_DISABLE_WDT 1 | 1585 | #define NVGPU_IOCTL_CHANNEL_DISABLE_WDT (1 << 0) |
1586 | #define NVGPU_IOCTL_CHANNEL_ENABLE_WDT 2 | 1586 | #define NVGPU_IOCTL_CHANNEL_ENABLE_WDT (1 << 1) |
1587 | #define NVGPU_IOCTL_CHANNEL_WDT_FLAG_SET_TIMEOUT (1 << 2) | ||
1588 | #define NVGPU_IOCTL_CHANNEL_WDT_FLAG_DISABLE_DUMP (1 << 3) | ||
1587 | 1589 | ||
1588 | /* | 1590 | /* |
1589 | * Interleaving channels in a runlist is an approach to improve | 1591 | * Interleaving channels in a runlist is an approach to improve |