diff options
author | Huang Rui <ray.huang@amd.com> | 2017-02-10 16:42:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-02-16 11:43:11 -0500 |
commit | 5d7213b0be71b3cb780b2f2094879480e46ad00e (patch) | |
tree | 01bc94fbc3a784c545329986ff7edb05c418a35f /drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | |
parent | d2383267557a6080fadcbe335422c0825325845d (diff) | |
download | op-kernel-dev-5d7213b0be71b3cb780b2f2094879480e46ad00e.zip op-kernel-dev-5d7213b0be71b3cb780b2f2094879480e46ad00e.tar.gz |
drm/amd/powerplay: add kicker flag into smumgr
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c index 6749fbe..35ac276 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c @@ -533,6 +533,8 @@ int smu7_upload_smu_firmware_image(struct pp_smumgr *smumgr) cgs_get_firmware_info(smumgr->device, smu7_convert_fw_type_to_cgs(UCODE_ID_SMU_SK), &info); + smumgr->is_kicker = info.is_kicker; + result = smu7_upload_smc_firmware_data(smumgr, info.image_size, (uint32_t *)info.kptr, SMU7_SMC_SIZE); return result; |