![]() |
|
|||
0001 /* 0002 * Copyright 2020 Advanced Micro Devices, Inc. 0003 * 0004 * Permission is hereby granted, free of charge, to any person obtaining a 0005 * copy of this software and associated documentation files (the "Software"), 0006 * to deal in the Software without restriction, including without limitation 0007 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 0008 * and/or sell copies of the Software, and to permit persons to whom the 0009 * Software is furnished to do so, subject to the following conditions: 0010 * 0011 * The above copyright notice and this permission notice shall be included in 0012 * all copies or substantial portions of the Software. 0013 * 0014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 0017 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 0018 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 0019 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 0020 * OTHER DEALINGS IN THE SOFTWARE. 0021 * 0022 */ 0023 #ifndef __UMC_V8_7_H__ 0024 #define __UMC_V8_7_H__ 0025 0026 #include "soc15_common.h" 0027 #include "amdgpu.h" 0028 0029 /* HBM Memory Channel Width */ 0030 #define UMC_V8_7_HBM_MEMORY_CHANNEL_WIDTH 128 0031 /* number of umc channel instance with memory map register access */ 0032 #define UMC_V8_7_CHANNEL_INSTANCE_NUM 2 0033 /* number of umc instance with memory map register access */ 0034 #define UMC_V8_7_UMC_INSTANCE_NUM 8 0035 /* total channel instances in one umc block */ 0036 #define UMC_V8_7_TOTAL_CHANNEL_NUM (UMC_V8_7_CHANNEL_INSTANCE_NUM * UMC_V8_7_UMC_INSTANCE_NUM) 0037 /* UMC regiser per channel offset */ 0038 #define UMC_V8_7_PER_CHANNEL_OFFSET_SIENNA 0x400 0039 0040 /* EccErrCnt max value */ 0041 #define UMC_V8_7_CE_CNT_MAX 0xffff 0042 /* umc ce interrupt threshold */ 0043 #define UMC_V8_7_CE_INT_THRESHOLD 0xffff 0044 /* umc ce count initial value */ 0045 #define UMC_V8_7_CE_CNT_INIT (UMC_V8_7_CE_CNT_MAX - UMC_V8_7_CE_INT_THRESHOLD) 0046 0047 extern struct amdgpu_umc_ras umc_v8_7_ras; 0048 extern const uint32_t 0049 umc_v8_7_channel_idx_tbl[UMC_V8_7_UMC_INSTANCE_NUM][UMC_V8_7_CHANNEL_INSTANCE_NUM]; 0050 0051 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |