Commit fd8d4151 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

drm/amd/pp: Clean header file in vega12_smumgr.c

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 29b443d0
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
#include "ppatomctrl.h" #include "ppatomctrl.h"
#include "pp_debug.h" #include "pp_debug.h"
#include "smu_ucode_xfer_vi.h"
#include "smu7_smumgr.h"
/* MP Apertures */ /* MP Apertures */
#define MP0_Public 0x03800000 #define MP0_Public 0x03800000
...@@ -392,8 +391,7 @@ static int vega12_smu_init(struct pp_hwmgr *hwmgr) ...@@ -392,8 +391,7 @@ static int vega12_smu_init(struct pp_hwmgr *hwmgr)
struct cgs_firmware_info info = {0}; struct cgs_firmware_info info = {0};
int ret; int ret;
ret = cgs_get_firmware_info(hwmgr->device, ret = cgs_get_firmware_info(hwmgr->device, CGS_UCODE_ID_SMU,
smu7_convert_fw_type_to_cgs(UCODE_ID_SMU),
&info); &info);
if (ret || !info.kptr) if (ret || !info.kptr)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment