drm/amd/powerplay: remove header of smu_v11_0_pptable
authorKevin Wang <Kevin1.Wang@amd.com>
Tue, 18 Dec 2018 02:58:17 +0000 (10:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
different ASICs have different pptables, so the header will move
to asic source code to implement.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <Ray.Huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c

index ff8a32d37c51e8a868b239b2905970ce9d453dd3..a68d0a090d68c75c31618fd65624103cb435c031 100644 (file)
@@ -30,7 +30,6 @@
 #include "smu_v11_0_ppsmc.h"
 #include "smu11_driver_if.h"
 #include "soc15_common.h"
-#include "smu_v11_0_pptable.h"
 
 #include "asic_reg/thm/thm_11_0_2_offset.h"
 #include "asic_reg/thm/thm_11_0_2_sh_mask.h"
@@ -218,7 +217,7 @@ static int smu_v11_0_read_pptable_from_vbios(struct smu_context *smu)
        int ret, index;
        uint16_t size;
        uint8_t frev, crev;
-       struct smu_11_0_powerplay_table *table;
+       void *table;
 
        index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1,
                                            powerplayinfo);