Skip to content

Commit

Permalink
drm/amd/pp: Clean header file in vega12_smumgr.c
Browse files Browse the repository at this point in the history
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
  • Loading branch information
Rex Zhu authored and alexdeucher committed Apr 3, 2018
1 parent 29b443d commit fd8d415
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@

#include "ppatomctrl.h"
#include "pp_debug.h"
#include "smu_ucode_xfer_vi.h"
#include "smu7_smumgr.h"


/* MP Apertures */
#define MP0_Public 0x03800000
Expand Down Expand Up @@ -392,8 +391,7 @@ static int vega12_smu_init(struct pp_hwmgr *hwmgr)
struct cgs_firmware_info info = {0};
int ret;

ret = cgs_get_firmware_info(hwmgr->device,
smu7_convert_fw_type_to_cgs(UCODE_ID_SMU),
ret = cgs_get_firmware_info(hwmgr->device, CGS_UCODE_ID_SMU,
&info);
if (ret || !info.kptr)
return -EINVAL;
Expand Down

0 comments on commit fd8d415

Please sign in to comment.