[PATCH 2/2] drm/amdkfd: drop struct kfd_cu_info

Arnd Bergmann arnd at kernel.org
Tue Sep 26 17:48:52 UTC 2023


On Tue, Sep 26, 2023, at 18:39, Alex Deucher wrote:
> I think this was an abstraction back from when
> kfd supported both radeon and amdgpu.  Since we just
> support amdgpu now, there is no more need for this and
> we can use the amdgpu structures directly.
>
> This also avoids having the kfd_cu_info structures on
> the stack when inlining which can blow up the stack.
>
> Cc: Arnd Bergmann <arnd at kernel.org>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Nice cleanup!

Acked-by: Arnd Bergmann <arnd at arndb.de>

I guess you could fold patch 1/2 into this as it removes
all the added code from that anyway.


More information about the amd-gfx mailing list