mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gv11b: add missing hw macros
Add following missing hw macros for gv11b: - pri_ringstation_gpc_gpc0_priv_error_info_priv_level_v - pri_ringstation_gpc_gpc0_priv_error_info_subid_v - pri_ringstation_sys_priv_error_info_priv_level_v - pri_ringstation_sys_priv_error_info_subid_v Bug 200604892 Change-Id: I37fa33580b689a496ed0a74855a58291d626e341 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2325347 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
32fae6acf4
commit
ad503f60fd
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-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"),
|
||||
@@ -64,5 +64,9 @@
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_adr_r() (0x00128120U)
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_wrdat_r() (0x00128124U)
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_info_r() (0x00128128U)
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_info_subid_v(r)\
|
||||
(((r) >> 24U) & 0x3fU)
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_info_priv_level_v(r)\
|
||||
(((r) >> 20U) & 0x3U)
|
||||
#define pri_ringstation_gpc_gpc0_priv_error_code_r() (0x0012812cU)
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-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"),
|
||||
@@ -68,5 +68,8 @@
|
||||
#define pri_ringstation_sys_priv_error_adr_r() (0x00122120U)
|
||||
#define pri_ringstation_sys_priv_error_wrdat_r() (0x00122124U)
|
||||
#define pri_ringstation_sys_priv_error_info_r() (0x00122128U)
|
||||
#define pri_ringstation_sys_priv_error_info_subid_v(r) (((r) >> 24U) & 0x3fU)
|
||||
#define pri_ringstation_sys_priv_error_info_priv_level_v(r)\
|
||||
(((r) >> 20U) & 0x3U)
|
||||
#define pri_ringstation_sys_priv_error_code_r() (0x0012212cU)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user