diff options
author | Huang Rui <[email protected]> | 2018-12-15 15:36:58 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-03-19 15:03:55 -0500 |
commit | e98499b44413a42065a4c8f748fbbb4783ba5633 (patch) | |
tree | 7b8a98a3146b73b33d877c4bff0fe49abadc2a1a | |
parent | daddacf9f1fedb4c87c827811c3588a2b9233182 (diff) |
drm/amd/powerplay: add data structure of bootup values
This patch adds data structures for bootup values.
Signed-off-by: Huang Rui <[email protected]>
Reviewed-by: Kevin Wang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index a12af78a2b9c..6d0db61179db 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -38,13 +38,29 @@ struct smu_table { uint64_t mc_address; void *cpu_addr; struct amdgpu_bo *bo; +}; +struct smu_bios_boot_up_values +{ + uint32_t revision; + uint32_t gfxclk; + uint32_t uclk; + uint32_t socclk; + uint32_t dcefclk; + uint16_t vddc; + uint16_t vddci; + uint16_t mvddc; + uint16_t vdd_gfx; + uint8_t cooling_id; + uint32_t pp_table_id; }; struct smu_table_context { void *power_play_table; uint32_t power_play_table_size; + + struct smu_bios_boot_up_values boot_values; struct smu_table *tables; uint32_t table_count; }; |