1f46a221bSXiaojian Du /* 2f46a221bSXiaojian Du * Copyright 2020 Advanced Micro Devices, Inc. 3f46a221bSXiaojian Du * 4f46a221bSXiaojian Du * Permission is hereby granted, free of charge, to any person obtaining a 5f46a221bSXiaojian Du * copy of this software and associated documentation files (the "Software"), 6f46a221bSXiaojian Du * to deal in the Software without restriction, including without limitation 7f46a221bSXiaojian Du * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8f46a221bSXiaojian Du * and/or sell copies of the Software, and to permit persons to whom the 9f46a221bSXiaojian Du * Software is furnished to do so, subject to the following conditions: 10f46a221bSXiaojian Du * 11f46a221bSXiaojian Du * The above copyright notice and this permission notice shall be included in 12f46a221bSXiaojian Du * all copies or substantial portions of the Software. 13f46a221bSXiaojian Du * 14f46a221bSXiaojian Du * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15f46a221bSXiaojian Du * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16f46a221bSXiaojian Du * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17f46a221bSXiaojian Du * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18f46a221bSXiaojian Du * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19f46a221bSXiaojian Du * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20f46a221bSXiaojian Du * OTHER DEALINGS IN THE SOFTWARE. 21f46a221bSXiaojian Du * 22f46a221bSXiaojian Du */ 23f46a221bSXiaojian Du 24f46a221bSXiaojian Du #ifndef __VANGOGH_PPT_H__ 25f46a221bSXiaojian Du #define __VANGOGH_PPT_H__ 26f46a221bSXiaojian Du 27f46a221bSXiaojian Du 28f46a221bSXiaojian Du extern void vangogh_set_ppt_funcs(struct smu_context *smu); 29f46a221bSXiaojian Du 3030cc5cecSXiaojian Du /* UMD PState Vangogh Msg Parameters in MHz */ 31*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_STANDARD_GFXCLK 1100 32*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_STANDARD_SOCCLK 600 33*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_STANDARD_FCLK 800 34*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_STANDARD_VCLK 705 35*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_STANDARD_DCLK 600 36*307f049bSXiaojian Du 37*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_PEAK_GFXCLK 1300 38*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_PEAK_SOCCLK 600 39*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_PEAK_FCLK 800 40*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_PEAK_VCLK 705 41*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_PEAK_DCLK 600 42*307f049bSXiaojian Du 43*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_SCLK_GFXCLK 400 44*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_SCLK_SOCCLK 1000 45*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_SCLK_FCLK 800 46*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_SCLK_VCLK 1000 47*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_SCLK_DCLK 800 48*307f049bSXiaojian Du 49*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_MCLK_GFXCLK 1100 50*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_MCLK_SOCCLK 1000 51*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_MCLK_FCLK 400 52*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_MCLK_VCLK 1000 53*307f049bSXiaojian Du #define VANGOGH_UMD_PSTATE_MIN_MCLK_DCLK 800 5430cc5cecSXiaojian Du 55a0f55287SXiaomeng Hou /* RLC Power Status */ 56a0f55287SXiaomeng Hou #define RLC_STATUS_OFF 0 57a0f55287SXiaomeng Hou #define RLC_STATUS_NORMAL 1 58a0f55287SXiaomeng Hou 59f46a221bSXiaojian Du #endif 60