mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
include: linux: import tegra_vgpu_t18x.h from kernel-t18x
include/linux/tegra_vgpu_t18x.h was missed while spliting the nvgpu driver off. This patch imports it into the nvgpu repo. bug 200187033 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Change-Id: Ia46384241bd0e24a8a560c3b13b5fd3523c9cc68 Reviewed-on: http://git-master/r/1119779 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Deepak Nibade
parent
0a98bb9fcf
commit
aed4008ffa
42
include/linux/tegra_vgpu_t18x.h
Normal file
42
include/linux/tegra_vgpu_t18x.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Tegra GPU Virtualization Interfaces to Server
|
||||
*
|
||||
* Copyright (c) 2015, 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,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __TEGRA_VGPU_T18X_H
|
||||
#define __TEGRA_VGPU_T18X_H
|
||||
|
||||
enum {
|
||||
TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_MAIN,
|
||||
TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_SPILL,
|
||||
TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_PAGEPOOL,
|
||||
TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_BETACB,
|
||||
TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_LAST
|
||||
};
|
||||
|
||||
enum {
|
||||
TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_WFI,
|
||||
TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_GFX_GFXP,
|
||||
TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_COMPUTE_CTA,
|
||||
TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_COMPUTE_CILP,
|
||||
TEGRA_VGPU_GR_CTXSW_PREEMPTION_MODE_LAST
|
||||
};
|
||||
|
||||
enum {
|
||||
TEGRA_VGPU_ATTRIB_PREEMPT_CTX_SIZE = 64
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user