From: "Christian König" <ckoenig.leichtzumerken-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Deng, Emily" <Emily.Deng-5C7GfCeVMHo@public.gmane.org>,
"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH] drm/amdgpu: For sriov reset, move IB test into exclusive mode
Date: Thu, 3 May 2018 13:53:29 +0200 [thread overview]
Message-ID: <2a615669-c200-09de-4226-fa315f273566@gmail.com> (raw)
In-Reply-To: <CY4PR12MB112591A8C93613C0B367B2A28F8E0-rpdhrqHFk07v2MZdTKcfDgdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
At least of hand sounds like it makes sense. But one comment below.
Am 26.04.2018 um 04:06 schrieb Deng, Emily:
> Ping...
>
>> -----Original Message-----
>> From: Emily Deng [mailto:Emily.Deng@amd.com]
>> Sent: Wednesday, April 25, 2018 11:26 AM
>> To: amd-gfx@lists.freedesktop.org
>> Cc: Deng, Emily <Emily.Deng@amd.com>
>> Subject: [PATCH] drm/amdgpu: For sriov reset, move IB test into exclusive
>> mode
>>
>> When put the IB test out of exclusive mode, and do sriov reset, the IB test
>> will randomly fail. As out of exclusive mode it uses kiq to do read and write
>> registers, but as it has world switch, the kiq read and write time will be
>> random, sometimes it will beyond the MAX_KIQ_REG_WAIT and then the
>> read or write register will fail, which will result the IB test fail. So move the
Looks like your commit message was cut of.
With that fixed the patch is Reviewed-by: Christian König
<christian.koenig@amd.com>.
Regards,
Christian.
>>
>> Signed-off-by: Emily Deng <Emily.Deng@amd.com>
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 ++---
>> 1 file changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>> index 211f1af..dc921d6 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
>> @@ -3156,20 +3156,19 @@ static int amdgpu_device_reset_sriov(struct
>> amdgpu_device *adev,
>>
>> /* now we are okay to resume SMC/CP/SDMA */
>> r = amdgpu_device_ip_reinit_late_sriov(adev);
>> - amdgpu_virt_release_full_gpu(adev, true);
>> if (r)
>> goto error;
>>
>> amdgpu_irq_gpu_reset_resume_helper(adev);
>> r = amdgpu_ib_ring_tests(adev);
>>
>> +error:
>> + amdgpu_virt_release_full_gpu(adev, true);
>> if (!r && adev->virt.gim_feature &
>> AMDGIM_FEATURE_GIM_FLR_VRAMLOST) {
>> atomic_inc(&adev->vram_lost_counter);
>> r = amdgpu_device_handle_vram_lost(adev);
>> }
>>
>> -error:
>> -
>> return r;
>> }
>>
>> --
>> 2.7.4
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2018-05-03 11:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 3:26 [PATCH] drm/amdgpu: For sriov reset, move IB test into exclusive mode Emily Deng
[not found] ` <1524626770-30269-1-git-send-email-Emily.Deng-5C7GfCeVMHo@public.gmane.org>
2018-04-26 2:06 ` Deng, Emily
[not found] ` <CY4PR12MB112591A8C93613C0B367B2A28F8E0-rpdhrqHFk07v2MZdTKcfDgdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-05-03 11:53 ` Christian König [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-26 4:06 Emily Deng
[not found] ` <1524715601-2955-1-git-send-email-Emily.Deng-5C7GfCeVMHo@public.gmane.org>
2018-04-26 6:00 ` Deng, Emily
2018-04-26 7:39 ` Liu, Monk
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=2a615669-c200-09de-4226-fa315f273566@gmail.com \
--to=ckoenig.leichtzumerken-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Emily.Deng-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=christian.koenig-5C7GfCeVMHo@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox