[PATCH 2/2] drm/amdkfd: Make KFD support on Hawaii experimental
Russell, Kent
Kent.Russell at amd.com
Wed Dec 8 16:34:33 UTC 2021
[AMD Official Use Only]
Reviewed-by: Kent Russell <kent.russell at amd.com>
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Felix Kuehling
> Sent: Wednesday, December 8, 2021 3:26 AM
> To: amd-gfx at lists.freedesktop.org
> Subject: [PATCH 2/2] drm/amdkfd: Make KFD support on Hawaii experimental
>
> Hawaii support is mostly untested these days. ROCm user mode also
> depends on custom firmware for AQL packet processing, that was never
> pushed upstream due to quality regressions in graphics driver testing.
>
> Signed-off-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index 267668b96456..facc28f58c1f 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -147,7 +147,11 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool
> vf)
> #ifdef CONFIG_DRM_AMDGPU_CIK
> case CHIP_HAWAII:
> gfx_target_version = 70001;
> - if (!vf)
> + if (!amdgpu_exp_hw_support)
> + pr_info(
> + "KFD support on Hawaii is experimental. See modparam exp_hw_support\n"
> + );
> + else if (!vf)
> f2g = &gfx_v7_kfd2kgd;
> break;
> #endif
> --
> 2.32.0
More information about the amd-gfx
mailing list