mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: report GR_SEMAPHORE_TIMEOUT on PBDMA sema timeout
As with GR's semaphore acquires that timeout, report NVGPU_CHANNEL_GR_SEMAPHORE_TIMEOUT to userspace in the error notifier also when a semaphore acquire timeout interrupt is received from PBDMA. This timeout is used when the kernel watchdog timer is enabled. Bug 1782480 Change-Id: I1ceb8632548c5e89febb2b80a5850116a2d4b670 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1574293 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b41e141778
commit
9b20f2a15e
@@ -2341,6 +2341,7 @@ unsigned int gk20a_fifo_handle_pbdma_intr_0(struct gk20a *g, u32 pbdma_id,
|
||||
rc_type = RC_TYPE_PBDMA_FAULT;
|
||||
nvgpu_err(g,
|
||||
"semaphore acquire timeout!");
|
||||
*error_notifier = NVGPU_CHANNEL_GR_SEMAPHORE_TIMEOUT;
|
||||
}
|
||||
*handled |= pbdma_intr_0_acquire_pending_f();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user