Commit d4abd006 authored by Jack Zhang's avatar Jack Zhang Committed by Alex Deucher
Browse files

drm/amd/sriov no need to config GECC for sriov



No need to config GECC feature here for sriov
Leave the host drvier to do the configuration job.

Signed-off-by: default avatarJack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7f353342
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device *adev)
	struct psp_context *psp = &adev->psp;
	struct psp_gfx_cmd_resp *cmd = psp->cmd;

	if (adev->asic_type != CHIP_SIENNA_CICHLID)
	if (adev->asic_type != CHIP_SIENNA_CICHLID || amdgpu_sriov_vf(adev))
		return 0;

	memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));