All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wang, YuBiao" <YuBiao.Wang@amd.com>
To: "Tuikov, Luben" <Luben.Tuikov@amd.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	"Zhang, Hawking" <Hawking.Zhang@amd.com>
Cc: "Grodzovsky, Andrey" <Andrey.Grodzovsky@amd.com>,
	"Xiao, Jack" <Jack.Xiao@amd.com>,
	"Wang, Yang\(Kevin\)" <KevinYang.Wang@amd.com>,
	"Xu, Feifei" <Feifei.Xu@amd.com>,
	"Chen, Horace" <Horace.Chen@amd.com>,
	"Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Quan, Evan" <Evan.Quan@amd.com>,
	"Koenig,  Christian" <Christian.Koenig@amd.com>,
	"Liu, Monk" <Monk.Liu@amd.com>
Subject: RE: [PATCH] drm/amdgpu: skip mes self test for gc 11.0.3 in recover
Date: Thu, 20 Oct 2022 02:44:46 +0000	[thread overview]
Message-ID: <DM6PR12MB30351752EF3AEFBF898B868AE52A9@DM6PR12MB3035.namprd12.prod.outlook.com> (raw)
In-Reply-To: <555e8453-d609-a78e-36a8-dd52b63332ac@amd.com>

Hi Luben,

>> Is this "temporary" as in "we'll revert this commit later", or is it "temporary" as in the code execution itself?
>> Is this just for this version of the IP or this and any newer versions?

I suppose that it is meant to be reverted later. There is a similar patch in commit c25a7a8bf19a98578ad27aaaa78082276ea1557c which also temporarily skip mes self test only for gc_11.0.3 during mes late init, which was reviewed by @Zhang, Hawking. My patch is to also skip mes self test during gpu recover since self test will also cause failure during reset.

Best Regards,
Yubiao Wang

-----Original Message-----
From: Tuikov, Luben <Luben.Tuikov@amd.com> 
Sent: Wednesday, October 19, 2022 11:53 AM
To: Wang, YuBiao <YuBiao.Wang@amd.com>; amd-gfx@lists.freedesktop.org
Cc: Grodzovsky, Andrey <Andrey.Grodzovsky@amd.com>; Quan, Evan <Evan.Quan@amd.com>; Chen, Horace <Horace.Chen@amd.com>; Koenig, Christian <Christian.Koenig@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Xiao, Jack <Jack.Xiao@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>; Liu, Monk <Monk.Liu@amd.com>; Xu, Feifei <Feifei.Xu@amd.com>; Wang, Yang(Kevin) <KevinYang.Wang@amd.com>
Subject: Re: [PATCH] drm/amdgpu: skip mes self test for gc 11.0.3 in recover

On 2022-10-18 23:45, YuBiao Wang wrote:
> Temporary disable mes self teset for gc 11.0.3 during gpu_recovery.
> 

Is this "temporary" as in "we'll revert this commit later", or is it "temporary" as in the code execution itself?

> Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index e0445e8cc342..5b8362727226 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -5381,7 +5381,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
>  			drm_sched_start(&ring->sched, !tmp_adev->asic_reset_res);
>  		}
>  
> -		if (adev->enable_mes)
> +		if (adev->enable_mes && adev->ip_versions[GC_HWIP][0] != 
> +IP_VERSION(11, 0, 3))
>  			amdgpu_mes_self_test(tmp_adev);

Is this just for this version of the IP or this and any newer versions?

Regards,
Luben

>  
>  		if (!drm_drv_uses_atomic_modeset(adev_to_drm(tmp_adev)) && 
> !job_signaled) {

  parent reply	other threads:[~2022-10-20  2:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19  3:45 [PATCH] drm/amdgpu: skip mes self test for gc 11.0.3 in recover YuBiao Wang
2022-10-19  3:53 ` Luben Tuikov
2022-10-19  4:50   ` Wang, YuBiao
2022-10-20  2:44   ` Wang, YuBiao [this message]
2022-10-20  7:03     ` Luben Tuikov

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=DM6PR12MB30351752EF3AEFBF898B868AE52A9@DM6PR12MB3035.namprd12.prod.outlook.com \
    --to=yubiao.wang@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Andrey.Grodzovsky@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=Evan.Quan@amd.com \
    --cc=Feifei.Xu@amd.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=Horace.Chen@amd.com \
    --cc=Jack.Xiao@amd.com \
    --cc=KevinYang.Wang@amd.com \
    --cc=Luben.Tuikov@amd.com \
    --cc=Monk.Liu@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.