mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: rename <nvgpu/top.h> to <nvgpu/device.h>
top.h is a description of "devices" available on the GPU. As such rename this header to device.h. device.h will ultimately be a unit of actual C code that will rely on the top HAL to fill a device list. JIRA NVGPU-5421 Change-Id: If6e4a537d2209e429a678761a34713723da7a00a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2319648 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef NVGPU_TOP_H
|
||||
#define NVGPU_TOP_H
|
||||
#ifndef NVGPU_DEVICE_H
|
||||
#define NVGPU_DEVICE_H
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
@@ -118,4 +118,4 @@ struct nvgpu_device_info {
|
||||
/** @endcond DOXYGEN_SHOULD_SKIP_THIS */
|
||||
};
|
||||
|
||||
#endif /* NVGPU_TOP_H */
|
||||
#endif /* NVGPU_DEVICE_H */
|
||||
@@ -46,7 +46,7 @@ struct nvgpu_fifo;
|
||||
/**
|
||||
* Engine enum types used for s/w purpose. These enum values are
|
||||
* different as compared to engine enum types defined by h/w.
|
||||
* Refer top.h header file.
|
||||
* Refer device.h header file.
|
||||
*/
|
||||
enum nvgpu_fifo_engine {
|
||||
/** GR engine enum */
|
||||
@@ -110,7 +110,7 @@ struct nvgpu_engine_info {
|
||||
};
|
||||
/**
|
||||
* @brief Get s/w defined engine enum type for engine enum type defined by h/w.
|
||||
* See top.h for engine enum types defined by h/w.
|
||||
* See device.h for engine enum types defined by h/w.
|
||||
*
|
||||
* @param g [in] The GPU driver struct.
|
||||
* @param engine_type [in] Engine enum type defined by h/w.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2014-2020, 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"),
|
||||
@@ -151,7 +151,7 @@ struct nvgpu_tsg {
|
||||
* is one runlist per engine (graphics and grcopy share a runlist).
|
||||
* The runlist_id specifies the h/w runlist to which a runlist in
|
||||
* memory is being submitted. Each runlist serves a specific set of
|
||||
* engines. Refer top.h.
|
||||
* engines. Refer to device.h.
|
||||
*/
|
||||
u32 runlist_id;
|
||||
/** tgid (OS specific) of the process that openend the TSG. */
|
||||
|
||||
Reference in New Issue
Block a user