AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Kuehling <felix.kuehling@amd.com>
To: Jonathan Kim <jonathan.kim@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdkfd: enable cooperative launch for gfx10.3
Date: Thu, 17 Nov 2022 10:50:12 -0500	[thread overview]
Message-ID: <23066e5b-3df2-6254-060d-917e3eeccd05@amd.com> (raw)
In-Reply-To: <20221012190746.3318031-1-jonathan.kim@amd.com>

Am 2022-10-12 um 15:07 schrieb Jonathan Kim:
> FW fix available to enable cooperative launch for GFX10.3.
>
> Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>


> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_device.c | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index be7a0b5a2dbc..66296cccbadd 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -498,7 +498,10 @@ static int kfd_gws_init(struct kfd_dev *kfd)
>   		(KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 1)
>   			&& kfd->mec2_fw_version >= 0x30)   ||
>   		(KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 2)
> -			&& kfd->mec2_fw_version >= 0x28))))
> +			&& kfd->mec2_fw_version >= 0x28) ||
> +		(KFD_GC_VERSION(kfd) >= IP_VERSION(10, 3, 0)
> +			&& KFD_GC_VERSION(kfd) < IP_VERSION(11, 0, 0)
> +			&& kfd->mec2_fw_version >= 0x6b))))
>   		ret = amdgpu_amdkfd_alloc_gws(kfd->adev,
>   				kfd->adev->gds.gws_size, &kfd->gws);
>   

      reply	other threads:[~2022-11-17 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12 19:07 [PATCH] drm/amdkfd: enable cooperative launch for gfx10.3 Jonathan Kim
2022-11-17 15:50 ` Felix Kuehling [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=23066e5b-3df2-6254-060d-917e3eeccd05@amd.com \
    --to=felix.kuehling@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=jonathan.kim@amd.com \
    /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