mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: move deferred interrupt wait to common code
- Deferred interrupt wait uses nvgpu abstraction so can be made common for QNX/Linux. Jira NVGPU-1396 Change-Id: Iaabc5f004d702ba1dc3fba62778ae1b7044f0392 Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1975137 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
dce78f7332
commit
d9438128a8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -108,17 +108,8 @@ struct nvgpu_os_linux {
|
||||
|
||||
struct device_dma_parameters dma_parms;
|
||||
|
||||
atomic_t hw_irq_stall_count;
|
||||
atomic_t hw_irq_nonstall_count;
|
||||
|
||||
struct nvgpu_cond sw_irq_stall_last_handled_wq;
|
||||
atomic_t sw_irq_stall_last_handled;
|
||||
|
||||
atomic_t nonstall_ops;
|
||||
|
||||
struct nvgpu_cond sw_irq_nonstall_last_handled_wq;
|
||||
atomic_t sw_irq_nonstall_last_handled;
|
||||
|
||||
struct work_struct nonstall_fn_work;
|
||||
struct workqueue_struct *nonstall_work_queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user