From 9c4f3799d1318aeb81d23816f8493d115aff2f86 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 22 Mar 2016 14:16:40 +0530 Subject: 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 Reviewed-on: http://git-master/r/1156210 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta Reviewed-by: Terje Bergstrom --- include/uapi/linux/nvgpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/uapi') 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 { #define NVGPU_CHANNEL_FIFO_ERROR_MMU_ERR_FLT 31 #define NVGPU_CHANNEL_PBDMA_ERROR 32 #define NVGPU_CHANNEL_RESETCHANNEL_VERIF_ERROR 43 +#define NVGPU_CHANNEL_PBDMA_PUSHBUFFER_CRC_MISMATCH 80 __u16 info16; /* info returned depends on method 000c-000d */ __u16 status; /* user sets bit 15, NV sets status 000e-000f */ #define NVGPU_CHANNEL_SUBMIT_TIMEOUT 1 -- cgit v1.2.2