![]() |
|
|||
0001 /* 0002 * Copyright 2014 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 0024 #ifndef SMU8_H 0025 #define SMU8_H 0026 0027 #pragma pack(push, 1) 0028 0029 #define ENABLE_DEBUG_FEATURES 0030 0031 struct SMU8_Firmware_Header { 0032 uint32_t Version; 0033 uint32_t ImageSize; 0034 uint32_t CodeSize; 0035 uint32_t HeaderSize; 0036 uint32_t EntryPoint; 0037 uint32_t Rtos; 0038 uint32_t UcodeLoadStatus; 0039 uint32_t DpmTable; 0040 uint32_t FanTable; 0041 uint32_t PmFuseTable; 0042 uint32_t Globals; 0043 uint32_t Reserved[20]; 0044 uint32_t Signature; 0045 }; 0046 0047 struct SMU8_MultimediaPowerLogData { 0048 uint32_t avgTotalPower; 0049 uint32_t avgGpuPower; 0050 uint32_t avgUvdPower; 0051 uint32_t avgVcePower; 0052 0053 uint32_t avgSclk; 0054 uint32_t avgDclk; 0055 uint32_t avgVclk; 0056 uint32_t avgEclk; 0057 0058 uint32_t startTimeHi; 0059 uint32_t startTimeLo; 0060 0061 uint32_t endTimeHi; 0062 uint32_t endTimeLo; 0063 }; 0064 0065 #define SMU8_FIRMWARE_HEADER_LOCATION 0x1FF80 0066 #define SMU8_UNBCSR_START_ADDR 0xC0100000 0067 0068 #define SMN_MP1_SRAM_START_ADDR 0x10000000 0069 0070 #pragma pack(pop) 0071 0072 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |