diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-04-11 20:06:20 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-21 14:29:13 -0400 |
commit | 4df6cd4a345d9a564f2235bc6a20ebb4614c2b04 (patch) | |
tree | e6bf733972915929cba22882a74b04cf133be14e /include | |
parent | a21dcf0bc6bca226582aae45e3a92fe1f7c19e56 (diff) |
gpu: nvgpu: add ctxsw channel reset event
Generate a ctxsw channel reset when engine needs to be reset.
This event is generated by the driver, while other events are
generated by FECS.
JIRA ELVR-314
Change-Id: I7791cf3e538782464c37c442c871acb177484566
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1129029
(cherry picked from commit 114038a1a5d9e8941bc53f3e95115b01dd1f8c6e)
Reviewed-on: http://git-master/r/1134379
(cherry picked from commit 15fa2a7b48a0937dfd449ca0c4ed5ad3a863d6bf)
Reviewed-on: http://git-master/r/1123916
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 3137c660..76a6b1cc 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1367,6 +1367,7 @@ struct nvgpu_as_map_buffer_batch_args { | |||
1367 | #define NVGPU_CTXSW_TAG_SAVE_END 0x03 | 1367 | #define NVGPU_CTXSW_TAG_SAVE_END 0x03 |
1368 | #define NVGPU_CTXSW_TAG_RESTORE_START 0x04 | 1368 | #define NVGPU_CTXSW_TAG_RESTORE_START 0x04 |
1369 | #define NVGPU_CTXSW_TAG_CONTEXT_START 0x05 | 1369 | #define NVGPU_CTXSW_TAG_CONTEXT_START 0x05 |
1370 | #define NVGPU_CTXSW_TAG_RESET 0xfe | ||
1370 | #define NVGPU_CTXSW_TAG_INVALID_TIMESTAMP 0xff | 1371 | #define NVGPU_CTXSW_TAG_INVALID_TIMESTAMP 0xff |
1371 | #define NVGPU_CTXSW_TAG_LAST \ | 1372 | #define NVGPU_CTXSW_TAG_LAST \ |
1372 | NVGPU_CTXSW_TAG_INVALID_TIMESTAMP | 1373 | NVGPU_CTXSW_TAG_INVALID_TIMESTAMP |