diff options
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 43f45adeccd1..f7425c384a3f 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h | |||
| @@ -120,6 +120,20 @@ enum amd_vce_level { | |||
| 120 | AMD_VCE_LEVEL_DC_GP_HIGH = 5, /* DC, general purpose queue, 1080 >= res > 720 */ | 120 | AMD_VCE_LEVEL_DC_GP_HIGH = 5, /* DC, general purpose queue, 1080 >= res > 720 */ |
| 121 | }; | 121 | }; |
| 122 | 122 | ||
| 123 | enum amd_pp_profile_type { | ||
| 124 | AMD_PP_GFX_PROFILE, | ||
| 125 | AMD_PP_COMPUTE_PROFILE, | ||
| 126 | }; | ||
| 127 | |||
| 128 | struct amd_pp_profile { | ||
| 129 | enum amd_pp_profile_type type; | ||
| 130 | uint32_t min_sclk; | ||
| 131 | uint32_t min_mclk; | ||
| 132 | uint16_t activity_threshold; | ||
| 133 | uint8_t up_hyst; | ||
| 134 | uint8_t down_hyst; | ||
| 135 | }; | ||
| 136 | |||
| 123 | /* CG flags */ | 137 | /* CG flags */ |
| 124 | #define AMD_CG_SUPPORT_GFX_MGCG (1 << 0) | 138 | #define AMD_CG_SUPPORT_GFX_MGCG (1 << 0) |
| 125 | #define AMD_CG_SUPPORT_GFX_MGLS (1 << 1) | 139 | #define AMD_CG_SUPPORT_GFX_MGLS (1 << 1) |
