Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright 2019 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 __NAVI10_PPT_H__
0024 #define __NAVI10_PPT_H__
0025 
0026 #define NAVI10_PEAK_SCLK_XTX        (1830)
0027 #define NAVI10_PEAK_SCLK_XT         (1755)
0028 #define NAVI10_PEAK_SCLK_XL         (1625)
0029 
0030 #define NAVI10_UMD_PSTATE_PROFILING_GFXCLK    (1300)
0031 #define NAVI10_UMD_PSTATE_PROFILING_SOCCLK    (980)
0032 #define NAVI10_UMD_PSTATE_PROFILING_MEMCLK    (625)
0033 #define NAVI10_UMD_PSTATE_PROFILING_VCLK      (980)
0034 #define NAVI10_UMD_PSTATE_PROFILING_DCLK      (850)
0035 
0036 #define NAVI14_UMD_PSTATE_PEAK_XT_GFXCLK      (1670)
0037 #define NAVI14_UMD_PSTATE_PEAK_XTM_GFXCLK     (1448)
0038 #define NAVI14_UMD_PSTATE_PEAK_XLM_GFXCLK     (1181)
0039 #define NAVI14_UMD_PSTATE_PEAK_XTX_GFXCLK     (1717)
0040 #define NAVI14_UMD_PSTATE_PEAK_XL_GFXCLK      (1448)
0041 
0042 #define NAVI14_UMD_PSTATE_PROFILING_GFXCLK    (1200)
0043 #define NAVI14_UMD_PSTATE_PROFILING_SOCCLK    (900)
0044 #define NAVI14_UMD_PSTATE_PROFILING_MEMCLK    (600)
0045 #define NAVI14_UMD_PSTATE_PROFILING_VCLK      (900)
0046 #define NAVI14_UMD_PSTATE_PROFILING_DCLK      (800)
0047 
0048 #define NAVI12_UMD_PSTATE_PEAK_GFXCLK     (1100)
0049 
0050 #define NAVI10_VOLTAGE_SCALE (4)
0051 
0052 extern void navi10_set_ppt_funcs(struct smu_context *smu);
0053 
0054 #endif