mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: fix engine reset in FECS trace
In virtualization case, VM server is the only one allowed to write to ctxsw ring buffer. It will also generate an event in case of engine reset. Only generate a tracepoint on Guest OS side. EVLR-314 Change-Id: I2cb09780a9b41237fe196ef1f3515923f36a24a4 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1130743 (cherry picked from commit 4bbf9538e2a3375eb86b2feea6c605c3eec2ca40) Reviewed-on: http://git-master/r/1133614 (cherry picked from commit 2076d944db41b37143c27795b3cffd88e99e0b00) Reviewed-on: http://git-master/r/1150046 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
4df6cd4a34
commit
47e3d2e905
@@ -1367,7 +1367,7 @@ struct nvgpu_as_map_buffer_batch_args {
|
||||
#define NVGPU_CTXSW_TAG_SAVE_END 0x03
|
||||
#define NVGPU_CTXSW_TAG_RESTORE_START 0x04
|
||||
#define NVGPU_CTXSW_TAG_CONTEXT_START 0x05
|
||||
#define NVGPU_CTXSW_TAG_RESET 0xfe
|
||||
#define NVGPU_CTXSW_TAG_ENGINE_RESET 0xfe
|
||||
#define NVGPU_CTXSW_TAG_INVALID_TIMESTAMP 0xff
|
||||
#define NVGPU_CTXSW_TAG_LAST \
|
||||
NVGPU_CTXSW_TAG_INVALID_TIMESTAMP
|
||||
|
||||
Reference in New Issue
Block a user