gpu: nvgpu: add accessor for gpc priv stride

Re-generate headers for proj_gpc_priv_stride accessor.
This is needed to compute priv error register offsets.

Bug 2093058

Change-Id: Ied4e2b072f650940757c44e261b416d388e8924c
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1682117
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2018-03-26 11:15:33 -07:00
committed by mobile promotions
parent d20a501dcb
commit 1557ee63ed
6 changed files with 30 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2012-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2014-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2016-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2016-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2017-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2016-2018, 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"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
{
return 0x00008000U;
}
static inline u32 proj_gpc_priv_stride_v(void)
{
return 0x00000800U;
}
static inline u32 proj_ltc_stride_v(void)
{
return 0x00002000U;