summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-03-22 04:46:40 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-05-31 11:59:21 -0400
commit9c4f3799d1318aeb81d23816f8493d115aff2f86 (patch)
treecf1fa16388f926948756d5b230994d7aec72274d /include
parent6ff0d4e6ebdf72645b2e8c2631da72b6955200c8 (diff)
gpu: nvgpu: add notifier for pbcrc mismatch
Add below notifier for pbcrc mismatch NVGPU_CHANNEL_PBDMA_PUSHBUFFER_CRC_MISMATCH And use this notifier value when we have pbdma pbcrc interrupt pending Bug 200179981 Change-Id: I289351e990afb0a4e002902881b99023530f6443 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1156210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nvgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index b37d0060..8b4c4549 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -939,6 +939,7 @@ struct nvgpu_notification {
939#define NVGPU_CHANNEL_FIFO_ERROR_MMU_ERR_FLT 31 939#define NVGPU_CHANNEL_FIFO_ERROR_MMU_ERR_FLT 31
940#define NVGPU_CHANNEL_PBDMA_ERROR 32 940#define NVGPU_CHANNEL_PBDMA_ERROR 32
941#define NVGPU_CHANNEL_RESETCHANNEL_VERIF_ERROR 43 941#define NVGPU_CHANNEL_RESETCHANNEL_VERIF_ERROR 43
942#define NVGPU_CHANNEL_PBDMA_PUSHBUFFER_CRC_MISMATCH 80
942 __u16 info16; /* info returned depends on method 000c-000d */ 943 __u16 info16; /* info returned depends on method 000c-000d */
943 __u16 status; /* user sets bit 15, NV sets status 000e-000f */ 944 __u16 status; /* user sets bit 15, NV sets status 000e-000f */
944#define NVGPU_CHANNEL_SUBMIT_TIMEOUT 1 945#define NVGPU_CHANNEL_SUBMIT_TIMEOUT 1