AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Kuehling <felix.kuehling@amd.com>
To: Tao Zhou <tao.zhou1@amd.com>,
	amd-gfx@lists.freedesktop.org, hawking.zhang@amd.com,
	stanley.yang@amd.com, yipeng.chai@amd.com, john.clements@amd.com,
	Jay.Cornwall@amd.com
Subject: Re: [PATCH 2/2] drm/amdkfd: use unmap all queues for poison consumption
Date: Mon, 7 Feb 2022 09:22:23 -0500	[thread overview]
Message-ID: <2636d68c-cdcc-24ba-435d-da606d1e0144@amd.com> (raw)
In-Reply-To: <20220207072742.5476-2-tao.zhou1@amd.com>


Am 2022-02-07 um 02:27 schrieb Tao Zhou:
> Replace reset queue for specific PASID with unmap all queues, reset
> queue could break CP scheduler.
>
> Signed-off-by: Tao Zhou <tao.zhou1@amd.com>

The series is

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


> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> index 7a2b6342a8f2..68ee923a440b 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> @@ -109,8 +109,7 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev,
>   
>   	switch (source_id) {
>   	case SOC15_INTSRC_SQ_INTERRUPT_MSG:
> -		if (dev->dqm->ops.reset_queues)
> -			ret = dev->dqm->ops.reset_queues(dev->dqm, pasid);
> +		kfd_dqm_evict_pasid(dev->dqm, pasid);
>   		break;
>   	case SOC15_INTSRC_SDMA_ECC:
>   	default:

      reply	other threads:[~2022-02-07 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  7:27 [PATCH 1/2] drm/amdkfd: rename kfd_process_vm_fault to kfd_dqm_evict_pasid Tao Zhou
2022-02-07  7:27 ` [PATCH 2/2] drm/amdkfd: use unmap all queues for poison consumption Tao Zhou
2022-02-07 14:22   ` 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=2636d68c-cdcc-24ba-435d-da606d1e0144@amd.com \
    --to=felix.kuehling@amd.com \
    --cc=Jay.Cornwall@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=hawking.zhang@amd.com \
    --cc=john.clements@amd.com \
    --cc=stanley.yang@amd.com \
    --cc=tao.zhou1@amd.com \
    --cc=yipeng.chai@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