aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2017-02-10 16:42:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-02-16 11:43:11 -0500
commit5d7213b0be71b3cb780b2f2094879480e46ad00e (patch)
tree01bc94fbc3a784c545329986ff7edb05c418a35f /drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
parentdrm/amdgpu: Initialize pipe priority order on graphic initialization (diff)
downloadlinux-dev-5d7213b0be71b3cb780b2f2094879480e46ad00e.tar.xz
linux-dev-5d7213b0be71b3cb780b2f2094879480e46ad00e.zip
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.c2
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 6749fbe26c74..35ac27681415 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;