mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Add fbpa number and stride
Add fbpa number and stride, used in hwpm context switch code Bug 1648200 Change-Id: I44570c072b1266d7ec2fc5dfb7fa73000ac01831 Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-on: http://git-master/r/1120451 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
7ed45599dc
commit
bd688d31ce
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2014-2016, 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,
|
||||
@@ -70,6 +70,10 @@ static inline u32 proj_lts_stride_v(void)
|
||||
{
|
||||
return 0x00000200;
|
||||
}
|
||||
static inline u32 proj_fbpa_stride_v(void)
|
||||
{
|
||||
return 0x00004000;
|
||||
}
|
||||
static inline u32 proj_ppc_in_gpc_base_v(void)
|
||||
{
|
||||
return 0x00003000;
|
||||
@@ -114,6 +118,10 @@ static inline u32 proj_scal_litter_num_fbps_v(void)
|
||||
{
|
||||
return 0x00000001;
|
||||
}
|
||||
static inline u32 proj_scal_litter_num_fbpas_v(void)
|
||||
{
|
||||
return 0x00000001;
|
||||
}
|
||||
static inline u32 proj_scal_litter_num_gpcs_v(void)
|
||||
{
|
||||
return 0x00000001;
|
||||
|
||||
Reference in New Issue
Block a user