]> Git Repo - linux.git/commitdiff
drm/amd/powerplay: notify smu with active display count
authorhersen wu <[email protected]>
Tue, 21 May 2019 20:03:28 +0000 (16:03 -0400)
committerAlex Deucher <[email protected]>
Fri, 21 Jun 2019 23:59:33 +0000 (18:59 -0500)
when dc update clocks via smu, smu needs to know how many
displays active. this interface is for dc notify number
of active displays to smu.

Signed-off-by: hersen wu <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c

index c9d0992d94a7da1532bd8bb8b025904b42c6d6c6..b020a8c28c32de15b74a87a611497100462ebace 100644 (file)
@@ -773,6 +773,7 @@ static int smu_v11_0_init_display_count(struct smu_context *smu, uint32_t count)
 
        if (!smu->pm_enabled)
                return ret;
+
        ret = smu_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, count);
        return ret;
 }
This page took 0.082982 seconds and 4 git commands to generate.