From: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
To: dri-devel@lists.freedesktop.org
Cc: oded.gabbay@gmail.com, quic_jhugo@quicinc.com,
Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>,
stable@vger.kernel.org
Subject: Re: [PATCH v2] accel/ivpu: Don't enable any tiles by default on VPU40xx
Date: Tue, 20 Feb 2024 17:34:59 +0100 [thread overview]
Message-ID: <c82a9ceb-9e3b-419a-a6ea-7838a9959afb@linux.intel.com> (raw)
In-Reply-To: <20240220131624.1447813-1-jacek.lawrynowicz@linux.intel.com>
Applied to drm-misc-fixes
On 20.02.2024 14:16, Jacek Lawrynowicz wrote:
> From: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
>
> There is no point in requesting 1 tile on VPU40xx as the FW will
> probably need more tiles to run workloads, so it will have to
> reconfigure PLL anyway. Don't enable any tiles and allow the FW to
> perform initial tile configuration.
>
> This improves NPU boot stability as the tiles are always enabled only
> by the FW from the same initial state.
>
> Fixes: 79cdc56c4a54 ("accel/ivpu: Add initial support for VPU 4")
> Cc: stable@vger.kernel.org
> Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
> ---
> drivers/accel/ivpu/ivpu_hw_40xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/accel/ivpu/ivpu_hw_40xx.c b/drivers/accel/ivpu/ivpu_hw_40xx.c
> index 1c995307c113..a1523d0b1ef3 100644
> --- a/drivers/accel/ivpu/ivpu_hw_40xx.c
> +++ b/drivers/accel/ivpu/ivpu_hw_40xx.c
> @@ -24,7 +24,7 @@
> #define SKU_HW_ID_SHIFT 16u
> #define SKU_HW_ID_MASK 0xffff0000u
>
> -#define PLL_CONFIG_DEFAULT 0x1
> +#define PLL_CONFIG_DEFAULT 0x0
> #define PLL_CDYN_DEFAULT 0x80
> #define PLL_EPP_DEFAULT 0x80
> #define PLL_REF_CLK_FREQ (50 * 1000000)
prev parent reply other threads:[~2024-02-20 16:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 11:08 [PATCH] accel/ivpu: Don't enable any tiles by default on VPU40xx Jacek Lawrynowicz
2024-02-20 11:11 ` kernel test robot
2024-02-20 13:16 ` [PATCH v2] " Jacek Lawrynowicz
2024-02-20 14:42 ` Jeffrey Hugo
2024-02-20 16:34 ` Jacek Lawrynowicz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c82a9ceb-9e3b-419a-a6ea-7838a9959afb@linux.intel.com \
--to=jacek.lawrynowicz@linux.intel.com \
--cc=Andrzej.Kacprowski@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=oded.gabbay@gmail.com \
--cc=quic_jhugo@quicinc.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox