[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAT7Ki-pg+E83xMCmES+VMWFthGuLMTzKdSbDak0OEMR6kfL0w@mail.gmail.com>
Date: Wed, 9 Jul 2025 14:34:00 +0800
From: Han Gao <rabenda.cn@...il.com>
To: Felix Kuehling <felix.kuehling@....com>
Cc: Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev
Subject: Re: [PATCH] drm/amdkfd: enable kfd on LoongArch systems
On Tue, Jul 8, 2025 at 6:12 AM Felix Kuehling <felix.kuehling@....com> wrote:
>
> On 2025-07-05 04:05, Han Gao wrote:
> > KFD has been confirmed that can run on LoongArch systems.
> > It's necessary to support CONFIG_HSA_AMD on LoongArch.
> >
> > Signed-off-by: Han Gao <rabenda.cn@...il.com>
> > ---
> > drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig
> > index 62e88e5362e9..b2387d529bf0 100644
> > --- a/drivers/gpu/drm/amd/amdkfd/Kconfig
> > +++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
> > @@ -5,7 +5,7 @@
> >
> > config HSA_AMD
> > bool "HSA kernel driver for AMD GPU devices"
> > - depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64 || (RISCV && 64BIT))
> > + depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64 || (RISCV && 64BIT) || LOONGARCH)
>
> Is LOONGARCH always 64-bit? If not, please make this (LOONGARCH && 64BIT).
Got it, will submit v2 later.
>
> Other than that, I have no objections to applying this patch.
>
> Regards,
> Felix
>
>
> > select HMM_MIRROR
> > select MMU_NOTIFIER
> > select DRM_AMDGPU_USERPTR
Powered by blists - more mailing lists