From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36FA64409; Mon, 23 Jun 2025 21:34:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750714456; cv=none; b=LVD/JoCI+06NkO3OFoLVq2S6Rh3cayGcpJlKP6zWTFT5wSbW5kJtQHco1eDLaVd32BI3LCVHmCEFLqqwdYXnUKQ5P0PbhQ205VcVigjEcamK71IdoQIq6XF8hyLTxZqta2RabCeLF5Dl0pc9m0f+HuLw0s2Gf6mEBgr0S+rdWF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750714456; c=relaxed/simple; bh=7UCIz925KQrrAr+yuVy+QHu8ohW+JI5Tijjc8bx9Fl4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fOOGy32S/mbklqxsVHmJ0KJe/uHoZiwLLyY79E1C04WhkTugnyY0LckaLkscW7rFMnT0DdmSS7w2TaY+hqzebWgTaFhRktBphWwDNBEps4AKAXz9RIZZXXhuZOPo6kN5jrFC3c9cLO7ACItmfa2qdbuLzx0A5wm7G4uK3h0wfDk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T7uUsHfx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="T7uUsHfx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 779E6C4CEEA; Mon, 23 Jun 2025 21:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750714455; bh=7UCIz925KQrrAr+yuVy+QHu8ohW+JI5Tijjc8bx9Fl4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T7uUsHfxsyj1Kb9WN8cQtp0Ik5Hq7h86Pd/y3IEZM4v9kvL9Vpn1n/BXXJylZXVXY yl84ZaAn+A+6o2fTl6XF3LMX1enzrFOflTrEw8I0beY1Re7imYQh3GU2uh7Z9rG+RD lnF4SX0hynXtx3XJ4zBk4FXoWq+Bj73C9vZIRxxg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Akhil P Oommen , Maya Matuszczyk , Anthony Ruhier , Rob Clark , Sasha Levin Subject: [PATCH 5.10 229/355] drm/msm/a6xx: Increase HFI response timeout Date: Mon, 23 Jun 2025 15:07:10 +0200 Message-ID: <20250623130633.631436877@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130626.716971725@linuxfoundation.org> References: <20250623130626.716971725@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Akhil P Oommen [ Upstream commit 5f02f5e78ec9688e29b6857813185b1181796abe ] When ACD feature is enabled, it triggers some internal calibrations which result in a pretty long delay during the first HFI perf vote. So, increase the HFI response timeout to match the downstream driver. Signed-off-by: Akhil P Oommen Tested-by: Maya Matuszczyk Tested-by: Anthony Ruhier Patchwork: https://patchwork.freedesktop.org/patch/649344/ Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_hfi.c b/drivers/gpu/drm/msm/adreno/a6xx_hfi.c index ccd44d0418f83..8bcf87726ec66 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_hfi.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_hfi.c @@ -102,7 +102,7 @@ static int a6xx_hfi_wait_for_ack(struct a6xx_gmu *gmu, u32 id, u32 seqnum, /* Wait for a response */ ret = gmu_poll_timeout(gmu, REG_A6XX_GMU_GMU2HOST_INTR_INFO, val, - val & A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ, 100, 5000); + val & A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ, 100, 1000000); if (ret) { DRM_DEV_ERROR(gmu->dev, -- 2.39.5