mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Add software scheduler and domain data structures for a general scheduler and bookkeeping code to create, remove and list them and to keep logs for debugging and development; as a first step, this will only serve as the heart of nvgpu-internal domain scheduler. Long term, this code is intended to work in arbitrary configurations - running on GSP, CPU, or elsewhere, and controlling the GPU or something else. Jira NVGPU-6427 Change-Id: I2a1577fa9120bb8ae6b9552dd2a187cb2cdfe504 Signed-off-by: Alex Waterman <alexw@nvidia.com> Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2632286 Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
26 lines
1.0 KiB
Makefile
26 lines
1.0 KiB
Makefile
# tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# Copyright (c) 2021 NVIDIA CORPORATION. All Rights Reserved.
|
|
#
|
|
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
|
# and proprietary rights in and to this software, related documentation
|
|
# and any modifications thereto. Any use, reproduction, disclosure or
|
|
# distribution of this software and related documentation without an express
|
|
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
|
|
|
# Build sources and include for the nv_sched core implementation. This
|
|
# file defines a list of source files and header includes that can be
|
|
# added to another project. nv_sched alone is not going to do anything:
|
|
# it has to be tied to some HW.
|
|
#
|
|
# The intent is to build this same code into different places. One
|
|
# obvious example is a kernel mode driver for the GPU. But this should
|
|
# also be buildable, long term, as firmware running on a ucontroller in
|
|
# the GPU.
|
|
|
|
NVS_SOURCES += src/sched.c \
|
|
src/logging.c \
|
|
src/domain.c
|
|
|
|
NVS_INCLUDE += include
|