mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: add periodic timer API
move fecs_trace polling from kthread to timer API. Jira GVSCI-10883 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Change-Id: I224754b7205f1d0eefdc19a73a98f42e4d3e9d0e Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2700601 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-by: Aparna Das <aparnad@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
61ae0b7642
commit
c30afdce02
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2019-2021, NVIDIA CORPORATION. All Rights Reserved.
|
||||
# Copyright (c) 2019-2022, NVIDIA CORPORATION. All Rights Reserved.
|
||||
#
|
||||
# OS interface units and utilities. Often represented by simply a header file.
|
||||
#
|
||||
@@ -109,7 +109,8 @@ thread:
|
||||
|
||||
timers:
|
||||
safe: yes
|
||||
sources: [ include/nvgpu/timers.h ]
|
||||
sources: [ include/nvgpu/timers.h,
|
||||
include/nvgpu/periodic_timer.h ]
|
||||
|
||||
types:
|
||||
safe: yes
|
||||
|
||||
@@ -220,7 +220,8 @@ thread:
|
||||
sources: [ os/linux/thread.c ]
|
||||
|
||||
timers:
|
||||
sources: [ os/linux/timers.c ]
|
||||
sources: [ os/linux/timers.c,
|
||||
os/linux/periodic_timer.c ]
|
||||
|
||||
vgpu:
|
||||
sources: [ os/linux/vgpu/fecs_trace_vgpu_linux.c,
|
||||
@@ -254,6 +255,7 @@ headers:
|
||||
include/nvgpu/linux/nvgpu_mem.h,
|
||||
include/nvgpu/linux/os_fence_android.h,
|
||||
include/nvgpu/linux/os_fence_dma.h,
|
||||
include/nvgpu/linux/periodic_timer.h,
|
||||
include/nvgpu/linux/rwsem.h,
|
||||
include/nvgpu/linux/nvmem.h,
|
||||
include/nvgpu/linux/sim.h,
|
||||
|
||||
@@ -114,7 +114,9 @@ timers:
|
||||
safe: yes
|
||||
owner: Ajesh K
|
||||
sources: [ os/posix/timers.c,
|
||||
include/nvgpu/posix/timers.h ]
|
||||
os/posix/periodic_timer.c,
|
||||
include/nvgpu/posix/timers.h,
|
||||
include/nvgpu/posix/periodic_timer.h ]
|
||||
deps:
|
||||
|
||||
atomic:
|
||||
|
||||
Reference in New Issue
Block a user