summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
diff options
context:
space:
mode:
authorKevin Wang2018-12-18 03:58:17 +0100
committerAlex Deucher2019-03-19 21:03:55 +0100
commitce6f7fa8a756ea46743fc53c5235840c8aba5fb2 (patch)
tree275ba0a197e652d605d8fa2579de16b9a6d930d9 /drivers/gpu/drm/amd/powerplay/smu_v11_0.c
parentdrm/amd/powerplay: implement smu_init(fini)_fb_allocations function (diff)
downloadkernel-qcow2-linux-ce6f7fa8a756ea46743fc53c5235840c8aba5fb2.tar.gz
kernel-qcow2-linux-ce6f7fa8a756ea46743fc53c5235840c8aba5fb2.tar.xz
kernel-qcow2-linux-ce6f7fa8a756ea46743fc53c5235840c8aba5fb2.zip
drm/amd/powerplay: remove header of smu_v11_0_pptable
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smu_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smu_v11_0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
index ff8a32d37c51..a68d0a090d68 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
@@ -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);