Commit 6f1ee58a authored by Jesse.Zhang's avatar Jesse.Zhang Committed by Alex Deucher
Browse files

drm/amd/pm: smu13: Enable VCN_RESET for pgm 7 with appropriate firmware version



This patch extends the VCN_RESET capability check to include pgm 7 when the firmware version is 0x07551400 or newer.

Signed-off-by: default avatarJesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 00dc2ff5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -450,7 +450,8 @@ static void smu_v13_0_6_init_caps(struct smu_context *smu)
	    ((pgm == 4) && (fw_ver >= 0x4557000)))
		smu_v13_0_6_cap_set(smu, SMU_CAP(SDMA_RESET));

	if ((pgm == 0) && (fw_ver >= 0x00558200))
	if ((pgm == 0 && fw_ver >= 0x00558200) ||
	    (pgm == 7 && fw_ver >= 0x07551400))
		smu_v13_0_6_cap_set(smu, SMU_CAP(VCN_RESET));
}