]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/amd/powerplay: add ppt_v3 define
authorRex Zhu <Rex.Zhu@amd.com>
Sun, 5 Feb 2017 10:50:22 +0000 (18:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:51 +0000 (17:41 -0400)
defines clock dependencies for raven.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h

index 10ac4b390f4cd196d5a6c19f6122c884a44e1ce0..3e2ea040d029e137c0a81b7a4f2ccbbacfe4bd78 100644 (file)
@@ -612,6 +612,17 @@ struct phm_ppt_v2_information {
        uint8_t  uc_dcef_dpm_voltage_mode;
 };
 
+struct phm_ppt_v3_information {
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_sclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_mclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_socclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_dcefclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_pixclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_dispclk;
+       struct phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_on_phyclk;
+};
+
+
 struct phm_dynamic_state_info {
        struct phm_clock_voltage_dependency_table *vddc_dependency_on_sclk;
        struct phm_clock_voltage_dependency_table *vddci_dependency_on_mclk;