From: Leo Li <sunpeng.li@amd.com>
To: "Michel Dänzer" <michel.daenzer@mailbox.org>,
"Michele Palazzi" <sysdadmin@m1k.cloud>,
amd-gfx@lists.freedesktop.org
Cc: <harry.wentland@amd.com>, <alexander.deucher@amd.com>,
<christian.koenig@amd.com>
Subject: Re: [PATCH 1/1] drm/amd/display: complete cursor vblank events immediately
Date: Mon, 2 Mar 2026 17:14:44 -0500 [thread overview]
Message-ID: <21ac131f-e208-4018-bfa4-92ae62767025@amd.com> (raw)
In-Reply-To: <965e25c6-f34e-4fa5-a014-03776cea6b28@mailbox.org>
On 2026-03-02 03:53, Michel Dänzer wrote:
> On 2/23/26 16:27, Leo Li wrote:
>>
>> Ideally, the cursor event should be delivered when hardware latches onto the new
>> cursor info and starts scanning it out. The latching event fires an interrupt
>> that should be handled by dm_crtc_high_irq().
>>
>> dm_pflip_high_irq() handles an interrupt specifically for when hardware latches
>> onto a new fb address; I don't think it actually fires when there's a
>> cursor-only update. I think if we really want to do it right, we can have
>> another "acrtc_attach->cursor_event" just for cusror-only updates, and deliver
>> the event in crtc_high_irq().
>>
>> In any case, I don't foresee any major issues with delivering the event early.
>
> If the event having wrong sequence & timestamp values isn't considered a "major issue", we might as well not bother and just put random values in there. ;)
>
> Compositors actually make use of the timestamp for frame scheduling.
Yeah, point taken, I read the other thread too late :)
- Leo
>
>
next prev parent reply other threads:[~2026-03-02 22:14 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 19:16 [PATCH 1/1] drm/amd/display: complete cursor vblank events immediately Michele Palazzi
2026-02-23 15:27 ` Leo Li
2026-02-27 8:53 ` Michele Palazzi
2026-02-27 8:58 ` Michele Palazzi
2026-03-02 22:13 ` Leo Li
2026-03-03 8:17 ` Shengyu Qu
2026-03-03 19:07 ` Leo Li
2026-03-04 14:00 ` Michele Palazzi
2026-03-04 14:20 ` Leo Li
2026-03-05 22:30 ` Leo Li
2026-03-06 8:37 ` Michele Palazzi
2026-03-09 16:49 ` Michele Palazzi
2026-03-10 23:50 ` Leo Li
2026-03-11 10:16 ` Shengyu Qu
2026-03-11 10:38 ` Michele Palazzi
2026-03-11 17:56 ` Leo Li
2026-03-16 14:55 ` Michele Palazzi
2026-03-16 15:17 ` Michele Palazzi
2026-03-16 18:39 ` Leo Li
2026-03-16 18:48 ` Leo Li
2026-03-18 11:36 ` Michele Palazzi
2026-03-20 0:52 ` Leo Li
2026-03-20 1:33 ` Michele Palazzi
2026-03-31 12:57 ` Michele Palazzi
2026-02-27 19:43 ` Alex Deucher
2026-03-02 8:53 ` Michel Dänzer
2026-03-02 22:14 ` Leo Li [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-18 0:31 Michele Palazzi
2026-02-18 9:41 ` Michel Dänzer
2026-02-18 10:09 ` Michele Palazzi
2026-02-19 11:09 ` Michel Dänzer
2026-02-19 13:08 ` Michele Palazzi
2026-02-19 13:59 ` Michel Dänzer
2026-02-19 15:56 ` Michele Palazzi
2026-02-19 16:02 ` Michel Dänzer
2026-02-20 11:10 ` Michele Palazzi
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=21ac131f-e208-4018-bfa4-92ae62767025@amd.com \
--to=sunpeng.li@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=harry.wentland@amd.com \
--cc=michel.daenzer@mailbox.org \
--cc=sysdadmin@m1k.cloud \
/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