mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: GPU characteristics additions
Add the following info into GPU characteristics: available big page sizes, support indicators for sync fence fds and cycle stats, gpc mask, SM version, SM SPA version and warp count, and IOCTL interface levels. Also, add new IOCTL to fetch TPC masks. Bug 1551769 Bug 1558186 Change-Id: I8a47d882645f29c7bf0c8f74334ebf47240e41de Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: http://git-master/r/562904 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
2c5fdd1c8a
commit
d11fbfe7b1
@@ -1886,6 +1886,22 @@ static inline u32 gr_gpc0_tpc0_sm_cfg_sm_id_f(u32 v)
|
||||
{
|
||||
return (v & 0xffff) << 0;
|
||||
}
|
||||
static inline u32 gr_gpc0_tpc0_sm_arch_r(void)
|
||||
{
|
||||
return 0x0050469c;
|
||||
}
|
||||
static inline u32 gr_gpc0_tpc0_sm_arch_warp_count_v(u32 r)
|
||||
{
|
||||
return (r >> 0) & 0xff;
|
||||
}
|
||||
static inline u32 gr_gpc0_tpc0_sm_arch_spa_version_v(u32 r)
|
||||
{
|
||||
return (r >> 8) & 0xf;
|
||||
}
|
||||
static inline u32 gr_gpc0_tpc0_sm_arch_spa_version_smkepler_lp_v(void)
|
||||
{
|
||||
return 0x0000000c;
|
||||
}
|
||||
static inline u32 gr_gpc0_ppc0_pes_vsc_strem_r(void)
|
||||
{
|
||||
return 0x00503018;
|
||||
|
||||
Reference in New Issue
Block a user