[PATCH v9 0/4] drm: Add support for atomic async page-flip
André Almeida
andrealmeid at igalia.com
Wed Nov 22 20:28:35 UTC 2023
Hi Hamza,
Em 22/11/2023 17:23, Hamza Mahfooz escreveu:
> Hi André,
> On 11/22/23 11:19, André Almeida wrote:
>> Hi,
>>
>> This work from me and Simon adds support for DRM_MODE_PAGE_FLIP_ASYNC
>> through
>> the atomic API. This feature is already available via the legacy API.
>> The use
>> case is to be able to present a new frame immediately (or as soon as
>> possible), even if after missing a vblank. This might result in
>> tearing, but
>> it's useful when a high framerate is desired, such as for gaming.
>>
>> Differently from earlier versions, this one refuses to flip if any
>> prop changes
>> for async flips. The idea is that the fast path of immediate page
>> flips doesn't
>> play well with modeset changes, so only the fb_id can be changed.
>>
>> Tested with:
>> - Intel TigerLake-LP GT2
>> - AMD VanGogh
>
> Have you had a chance to test this with VRR enabled? Since, I suspect
> this series might break that feature.
>
Someone asked this question in an earlier version of this patch, and the
result is that VRR still works as expected. You can follow the thread at
this link:
https://lore.kernel.org/lkml/b48bd1fc-fcb0-481b-8413-9210d44d709b@igalia.com/
I should have included this note at my cover letter, my bad.
Thanks,
André
More information about the dri-devel
mailing list