public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: Michele Palazzi <sysdadmin@m1k.cloud>,
	Leo Li <sunpeng.li@amd.com>, Alex Deucher <alexdeucher@gmail.com>
Cc: amd-gfx@lists.freedesktop.org, Harry.Wentland@amd.com,
	Aurabindo.Pillai@amd.com, wiagn233@outlook.com,
	stable@vger.kernel.org
Subject: Re: [PATCH] drm/amd/display: Restore 5s vbl offdelay for NV3x+ DGPUs
Date: Wed, 22 Apr 2026 12:52:42 -0500	[thread overview]
Message-ID: <030dffeb-34de-40d4-8f0a-111ab356e842@amd.com> (raw)
In-Reply-To: <cc5aad8a-e69c-42ab-a36f-15770b1038a1@m1k.cloud>



On 4/22/26 12:50, Michele Palazzi wrote:
> On 4/22/26 19:42, Mario Limonciello wrote:
>>
>> In Michele's proposal (https://lore.kernel.org/amd- 
>> gfx/20260217191632.1243826-1-sysdadmin@m1k.cloud/) there was a mention 
>> that it was tested on DCN 3.5 too, which made me think that the exact 
>> same issue was on both.
>>
>> Michele - can you readily reproduce the page flip timeout on DCN 3.5?
>>
>> If so; could you modify Leo's patch to drop the IS_APU designation and 
>> see if it happens to be the same solution?
>>
>>>
>>>>
>>>>> +                       /*
>>>>> +                        * DGPUs NV3x and newer that support idle 
>>>>> optimizations
>>>>> +                        * experience intermittent flip-done 
>>>>> timeouts on cursor
>>>>> +                        * updates. Restore 5s offdelay behavior 
>>>>> for now.
>>>>> +                        *
>>>>> +                        * Discussion on the issue:
>>>>> +                        * https://lore.kernel.org/amd- 
>>>>> gfx/20260217191632.1243826-1-sysdadmin@m1k.cloud/
>>>>> +                        */
>>>>> +                       config.offdelay_ms = 5000;
>>>>> +                       config.disable_immediate = false;
>>>>> +               } else if (amdgpu_ip_version(adev, DCE_HWIP, 0) <
>>>>> +                            IP_VERSION(3, 5, 0)) {
>>>>>                          /*
>>>>>                           * Older HW and DGPU have issues with 
>>>>> instant off;
>>>>>                           * use a 2 frame offdelay.
>>>>> -- 
>>>>> 2.53.0
>>>>>
>>>
>>
> 
> Hi Mario, i had tested my proposed patch on multiple APUs in order to 
> exclude regressions or side effects, but personally i only ever 
> encountered this particular issue on dGPUs, specifically a 7900 GRE 
> first and a 9070XT later.
> 

Got it - thanks for clarifying and reaffirming Leo's assertion was 
correct on root cause.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>

      reply	other threads:[~2026-04-22 17:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 16:29 [PATCH] drm/amd/display: Restore 5s vbl offdelay for NV3x+ DGPUs sunpeng.li
2026-04-22 16:42 ` Mario Limonciello
2026-04-22 16:56 ` Alex Deucher
2026-04-22 17:19   ` Leo Li
2026-04-22 17:42     ` Mario Limonciello
2026-04-22 17:50       ` Michele Palazzi
2026-04-22 17:52         ` Mario Limonciello [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=030dffeb-34de-40d4-8f0a-111ab356e842@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Aurabindo.Pillai@amd.com \
    --cc=Harry.Wentland@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    --cc=sunpeng.li@amd.com \
    --cc=sysdadmin@m1k.cloud \
    --cc=wiagn233@outlook.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