From 369bf0f15bd42b0f90093199e8ded184734d0683 Mon Sep 17 00:00:00 2001 From: Rajesh Devaraj Date: Wed, 3 Apr 2019 16:58:49 +0530 Subject: [PATCH] gpu: nvgpu: add accessors for PFIFO LB error Add missing register related PFIFO LB error for gv11b. Jira NVGPU-3087 Change-Id: I38e844b2c750548445911047c2ce3e61f0a8f866 Signed-off-by: Rajesh Devaraj Reviewed-on: https://git-master.nvidia.com/r/2088755 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Raghuram Kothakota GVS: Gerrit_Virtual_Submit Reviewed-by: Ankur Kishore Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h index 5d28628ea..e41173fb3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -258,6 +258,10 @@ static inline u32 fifo_intr_chsw_error_r(void) { return 0x0000256cU; } +static inline u32 fifo_intr_lb_error_r(void) +{ + return 0x0000258cU; +} static inline u32 fifo_intr_ctxsw_timeout_r(void) { return 0x00002a30U;