gpu: nvgpu: add definition for shader exception

Add definition for NVA297_SET_SHADER_EXCEPTIONS_ENABLE_TRUE
Need for gr unit interrupt test

Jira NVGPU-4085

Change-Id: Ia22fae038822e26ecb48369b489d2514b701a84c
Signed-off-by: vinodg <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2205679
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
vinodg
2019-09-25 11:18:42 -07:00
committed by Alex Waterman
parent c9e7f17986
commit f512d17e0b

View File

@@ -56,6 +56,7 @@ struct nvgpu_gr_isr_data;
#define NVC3C0_SET_SHADER_CUT_COLLECTOR 0x250U #define NVC3C0_SET_SHADER_CUT_COLLECTOR 0x250U
#define NVA297_SET_SHADER_EXCEPTIONS_ENABLE_FALSE U32(0) #define NVA297_SET_SHADER_EXCEPTIONS_ENABLE_FALSE U32(0)
#define NVA297_SET_SHADER_EXCEPTIONS_ENABLE_TRUE U32(1)
int gv11b_gr_intr_handle_fecs_error(struct gk20a *g, int gv11b_gr_intr_handle_fecs_error(struct gk20a *g,
struct nvgpu_channel *ch_ptr, struct nvgpu_channel *ch_ptr,