Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-10 Thread Lazar, Lijo
On 2/7/2025 9:40 PM, Eric Huang wrote: > In some ASICs L2 cache info may miss in kfd topology, > because the first bitmap may be empty, that means > the first cu may be inactive, so to find the first > active cu will solve the issue. > > v2: Only find the first active cu in the first xcc > > S

[PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-07 Thread Eric Huang
In some ASICs L2 cache info may miss in kfd topology, because the first bitmap may be empty, that means the first cu may be inactive, so to find the first active cu will solve the issue. v2: Only find the first active cu in the first xcc Signed-off-by: Eric Huang --- drivers/gpu/drm/amd/amdkfd/

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-07 Thread Eric Huang
*Sent:* Thursday, February 6, 2025 10:00:38 PM *To:* Lazar, Lijo ; amd-gfx@lists.freedesktop.org *Subject:* Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology On 2025-02-06 10:14, Lazar, Lijo wrote: On 1/29/2025 8:50 PM, Eric Huang wrote: In some ASICs L2 cache info may miss in kfd

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Lazar, Lijo
- >> *From:* Huang, JinHuiEric >> *Sent:* Thursday, February 6, 2025 10:00:38 PM >> *To:* Lazar, Lijo ; amd-gfx@lists.freedesktop.org >> >> *Subject:* Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology >>   >> >

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Eric Huang
, Lijo ; amd-gfx@lists.freedesktop.org *Subject:* Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology On 2025-02-06 10:14, Lazar, Lijo wrote: > > On 1/29/2025 8:50 PM, Eric Huang wrote: >> In some ASICs L2 cache info may miss in kfd topology, >> because the first b

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Lazar, Lijo
difference in number of L2 instances available. Thanks, Lijo From: Huang, JinHuiEric Sent: Thursday, February 6, 2025 10:00:38 PM To: Lazar, Lijo ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology On 2025-02-06 10

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Eric Huang
On 2025-02-06 10:14, Lazar, Lijo wrote: On 1/29/2025 8:50 PM, Eric Huang wrote: In some ASICs L2 cache info may miss in kfd topology, because the first bitmap may be empty, that means the first cu may be inactive, so to find the first active cu will solve the issue. Signed-off-by: Eric Huang

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Alex Deucher
Acked-by: Alex Deucher On Wed, Jan 29, 2025 at 10:37 AM Eric Huang wrote: > > In some ASICs L2 cache info may miss in kfd topology, > because the first bitmap may be empty, that means > the first cu may be inactive, so to find the first > active cu will solve the issue. > > Signed-off-by: Eric H

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Lazar, Lijo
On 1/29/2025 8:50 PM, Eric Huang wrote: > In some ASICs L2 cache info may miss in kfd topology, > because the first bitmap may be empty, that means > the first cu may be inactive, so to find the first > active cu will solve the issue. > > Signed-off-by: Eric Huang > --- > drivers/gpu/drm/amd/

Re: [PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-02-06 Thread Eric Huang
Ping .. On 2025-01-29 10:20, Eric Huang wrote: In some ASICs L2 cache info may miss in kfd topology, because the first bitmap may be empty, that means the first cu may be inactive, so to find the first active cu will solve the issue. Signed-off-by: Eric Huang --- drivers/gpu/drm/amd/amdk

[PATCH] drm/amdkfd: fix missing L2 cache info in topology

2025-01-29 Thread Eric Huang
In some ASICs L2 cache info may miss in kfd topology, because the first bitmap may be empty, that means the first cu may be inactive, so to find the first active cu will solve the issue. Signed-off-by: Eric Huang --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 18 -- 1 file chang