Message ID | 20230628-topic-a7xx_drmmsm-v1-13-a7f4496e0c12@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9196636vqr; Wed, 28 Jun 2023 13:41:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zdP7rotm881v8oPyTnMoYNHfVeuZBJq7abgV5Ef6LJ/z6lYP9PEe3t8ZPTS3A1MG1k4dC X-Received: by 2002:a19:c513:0:b0:4fb:9477:f713 with SMTP id w19-20020a19c513000000b004fb9477f713mr1543101lfe.6.1687984917554; Wed, 28 Jun 2023 13:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687984917; cv=none; d=google.com; s=arc-20160816; b=nqMMCD3slnLV8HsoHCme+ZlfSP0sesJ8NMwlRt1SQnksRsI2Hf+sCKpOA2a585v7ky 4ZYFY6h1lCYoZ77ElEhJYGnKa/ctjsKp5rod/9TMnheIoDljcP+wA6JroLEL8fgDwzkr a/agXhxxLLqjY8sXrpnLRmA0uDSVKMiKKUWSfnI4/Ism08ewJtZPNdwBLWSKufV9iubo NpEH0kA2HaqxvziS3Gyx8mCqH0fwuLGtOP2PGDQdlClLQdppq8J196xP59cMlAiBIQ0I YxkIot7tqDP2XlYqOvY1pZb9VgJxv7qUHLxabhK9YezOKBprBDQbu22XfxZ9OscTjx/j /lPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=voWmkq5A/4H6lrc7bXc4yRtm7lr6RklCvSbF7Hr43HQ=; fh=y5CufWdCvRG/D46wPUQAs6a5TaO9Xg7IL+UXm/FDyGE=; b=VeCefpba1DcgRdZoUEsEUzZ2BKAnJSwh7dr9FWT/JYrwxYodEvQA52WOP6N9mII/Ez PPyFUWm91f3oKXTSmTbg/kCWFE+jlLlCdvN5k8zTMf2R7zdGm8POj09K5AdB65b9jQyf o/z0fEpj0tyDfbGLnDyDwbQ5DWPO0HWhhXykmyhwHIntq/40Zz26urXtymNWVTBVZ2Do tJoN4afNh53km9MIsAdcnpNjc4hhRRjDcedWN0iMGQYrK5Cv6kLoitBRWk7LTi881xGb JsS7uDB/MTIw4xocgT0vR4ewlEq9ZuALgk/idrC3niBm6S5fOFK2HRAei9fcNBHm4Vy8 ecAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bvwPX9iP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020aa7cb92000000b0051be93a4395si5569548edt.52.2023.06.28.13.41.33; Wed, 28 Jun 2023 13:41:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bvwPX9iP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232206AbjF1UhH (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Wed, 28 Jun 2023 16:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231952AbjF1Ufv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 28 Jun 2023 16:35:51 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFEE1271B for <linux-kernel@vger.kernel.org>; Wed, 28 Jun 2023 13:35:46 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4fb863edcb6so117633e87.0 for <linux-kernel@vger.kernel.org>; Wed, 28 Jun 2023 13:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687984545; x=1690576545; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=voWmkq5A/4H6lrc7bXc4yRtm7lr6RklCvSbF7Hr43HQ=; b=bvwPX9iP1u0B4dVVrwoOKjAjYT9LWVkOzmGvgfrcnHnX8XfIw1kbxsUXjuS4u3dNdt +nc29D4mb2pNHv519QJhDSkS79ZC15A9UVGqlWZ6lPIk/C5+kvdra+ikO9sZIFoLd7Xa bWN1SolzqXnjhKPtjqkVFBsvlchU2UIeGNF1HEbhbaMXyAhqi3K0tJW1Z31w2zVKbf7S g6B14ODlxsgbHZ4UPE4uQRKynZmFJMgtkOmYx4HDPWS1ZNRj2NIM0UJ2gH05d7DtYmGH rektJN9Ujyob5dY0eWrXdWl5asVDrnteqpv7zplar0cE0hF9PKVbLk1B2tF4w3gZ0Rpz f5jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687984545; x=1690576545; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=voWmkq5A/4H6lrc7bXc4yRtm7lr6RklCvSbF7Hr43HQ=; b=fE5Se6YvcZkirpKJYvE/Me/+Oz2v2vn36bj/llm3YqFTgrojC0h+mWDDXxbOXAFW0m Qw8EaoB57WABqd9HFLi5PXD36rM3w15DPpHtIGD6htr/q5yKJeuD3aTbL92cKRTqvWNb Wlvf+9mwOmgj5FyZIs7QYi89EAIIa8qEAIMQrwZ+meZ/2T8UYJEwdV6SIEOo7Dicd5MT Qf1Vt0a6mg1fKEVAfHrAksiF/9oJbMCT/fk3XfLnpZ7i69qIj0rW99UmnsbrzhN8HJ1b Ll7dS14zrpg3uFmAdoOn6iSnBbkQXKxpstJMzoUkRDilker+c7bHu6MU/DNFqm9Gh6Ew ecvw== X-Gm-Message-State: AC+VfDw+1YE9XvCtN4dWJO6ZYDC/GmYSE20fWmCzO8dr1/+tRwcCZASp k4OCAiZRP0mjLwp3S9pyYUlZKw== X-Received: by 2002:a19:5e48:0:b0:4f6:29cf:c0dd with SMTP id z8-20020a195e48000000b004f629cfc0ddmr19592853lfi.8.1687984544935; Wed, 28 Jun 2023 13:35:44 -0700 (PDT) Received: from [192.168.1.101] (abyk82.neoplus.adsl.tpnet.pl. [83.9.30.82]) by smtp.gmail.com with ESMTPSA id m25-20020a056512015900b004fb86c89fa1sm753363lfo.135.2023.06.28.13.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 13:35:44 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 28 Jun 2023 22:35:13 +0200 Subject: [PATCH 13/14] drm/msm/a6xx: Vastly increase HFI timeout MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230628-topic-a7xx_drmmsm-v1-13-a7f4496e0c12@linaro.org> References: <20230628-topic-a7xx_drmmsm-v1-0-a7f4496e0c12@linaro.org> In-Reply-To: <20230628-topic-a7xx_drmmsm-v1-0-a7f4496e0c12@linaro.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687984524; l=863; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dEgcZTxCoSPqEO7GO/0ZL2tns6GDxdULpb4qFZADjmk=; b=/Mfvry5SQ0m/wK5vDp3W2W1GiurV0+qd9uxCmsN576pkyGMTxvesfqdFzY18kxMFp33X4ZnGe KT9o55q1KbuDNDwjmDjPN2PnwmAd933Lox8wZjXypTcxnhdXg3wqymD X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769980473324888688?= X-GMAIL-MSGID: =?utf-8?q?1769980473324888688?= |
Series |
A7xx support
|
|
Commit Message
Konrad Dybcio
June 28, 2023, 8:35 p.m. UTC
A7xx GMUs can be slow as molasses at times.
Increase the timeout to 1 second to match the vendor driver.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
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 cdb3f6e74d3e..e25ddb82a087 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_hfi.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_hfi.c @@ -108,7 +108,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,