AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig@amd.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Timur Kristóf" <timur.kristof@gmail.com>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 00/10] drm/amdgpu: Improve page fault handling on GMC v6-8
Date: Wed, 26 Nov 2025 16:04:52 +0100	[thread overview]
Message-ID: <0bb74716-579d-4bb9-8988-3366ed6efadd@amd.com> (raw)
In-Reply-To: <CADnq5_OQz+icin-nO7Zy9qMOB97sw-igm-2f8UPPgx5N7z8Y1g@mail.gmail.com>

On 11/26/25 15:46, Alex Deucher wrote:
> On Wed, Nov 26, 2025 at 9:29 AM Christian König
> <christian.koenig@amd.com> wrote:
>>
>> On 11/26/25 14:29, Timur Kristóf wrote:
>>> Enable the soft IRQ handler ring on SI, CIK, VI and
>>> delegate the processing of all VM faults to the soft
>>> IRQ handler ring.
>>>
>>> Why?
>>>
>>> On old GPUs, it may be an issue that handling the interrupts from
>>> VM faults is too slow and the interrupt handler (IH) ring may
>>> overflow, which can cause an eventual hang. This is a concern
>>> especially on SI and CIK where there are some HW limitations
>>> regarding robustness features with some shader instructions,
>>> which in practice means that users can see thousands of VM faults
>>> during normal gaming use even when the game or the UMD don't do
>>> anything wrong.
>>>
>>> With this series, we spend much less time in the IRQ handler that
>>> interacts with the HW IH ring, which significantly reduces the
>>> chance of hangs.
>>>
>>> There are also a few misc improvements to the GMC v6 code.
>>
>> Reviewed-by: Christian König <christian.koenig@amd.com> for the entire series.
>>
>> @Alex do you want to pick that up for amd-staging-drm-next or should I?
> 
> I'll be off the next few days so if you can pick it up, that would be great.

Going to take care of that tomorrow.

Thanks,
Christian.

> 
> Thanks,
> 
> Alex
> 
>>
>> Regards,
>> Christian.
>>
>>>
>>> Timur Kristóf (10):
>>>   drm/amdgpu/si_ih: Enable soft IRQ handler ring
>>>   drm/amdgpu/cik_ih: Enable soft IRQ handler ring
>>>   drm/amdgpu/iceland_ih: Enable soft IRQ handler ring
>>>   drm/amdgpu/tonga_ih: Enable soft IRQ handler ring
>>>   drm/amdgpu/cz_ih: Enable soft IRQ handler ring
>>>   drm/amdgpu/gmc6: Don't print MC client as it's unknown
>>>   drm/amdgpu/gmc6: Cache VM fault info
>>>   drm/amdgpu/gmc6: Delegate VM faults to soft IRQ handler ring
>>>   drm/amdgpu/gmc7: Delegate VM faults to soft IRQ handler ring
>>>   drm/amdgpu/gmc8: Delegate VM faults to soft IRQ handler ring
>>>
>>>  drivers/gpu/drm/amd/amdgpu/cik_ih.c     | 12 ++++++++++++
>>>  drivers/gpu/drm/amd/amdgpu/cz_ih.c      | 10 ++++++++++
>>>  drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c   | 20 ++++++++++++++------
>>>  drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c   |  6 ++++++
>>>  drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c   |  6 ++++++
>>>  drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 10 ++++++++++
>>>  drivers/gpu/drm/amd/amdgpu/si_ih.c      | 12 ++++++++++++
>>>  drivers/gpu/drm/amd/amdgpu/tonga_ih.c   | 10 ++++++++++
>>>  8 files changed, 80 insertions(+), 6 deletions(-)
>>>
>>


      reply	other threads:[~2025-11-26 15:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26 13:29 [PATCH 00/10] drm/amdgpu: Improve page fault handling on GMC v6-8 Timur Kristóf
2025-11-26 13:29 ` [PATCH 01/10] drm/amdgpu/si_ih: Enable soft IRQ handler ring Timur Kristóf
2025-11-26 13:29 ` [PATCH 02/10] drm/amdgpu/cik_ih: " Timur Kristóf
2025-11-26 13:29 ` [PATCH 03/10] drm/amdgpu/iceland_ih: " Timur Kristóf
2025-11-26 13:29 ` [PATCH 04/10] drm/amdgpu/tonga_ih: " Timur Kristóf
2025-11-26 13:29 ` [PATCH 05/10] drm/amdgpu/cz_ih: " Timur Kristóf
2025-11-26 13:29 ` [PATCH 06/10] drm/amdgpu/gmc6: Don't print MC client as it's unknown Timur Kristóf
2025-11-26 13:29 ` [PATCH 07/10] drm/amdgpu/gmc6: Cache VM fault info Timur Kristóf
2025-11-26 13:29 ` [PATCH 08/10] drm/amdgpu/gmc6: Delegate VM faults to soft IRQ handler ring Timur Kristóf
2025-11-26 13:29 ` [PATCH 09/10] drm/amdgpu/gmc7: " Timur Kristóf
2025-11-26 13:29 ` [PATCH 10/10] drm/amdgpu/gmc8: " Timur Kristóf
2025-11-26 14:22 ` [PATCH 00/10] drm/amdgpu: Improve page fault handling on GMC v6-8 Christian König
2025-11-26 14:46   ` Alex Deucher
2025-11-26 15:04     ` Christian König [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=0bb74716-579d-4bb9-8988-3366ed6efadd@amd.com \
    --to=christian.koenig@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=timur.kristof@gmail.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