We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5518 - [KMS/DRM] [patch] Do not use async page flips when not supported
Summary: [KMS/DRM] [patch] Do not use async page flips when not supported
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.15
Hardware: All Linux
: P2 normal
Assignee: Manuel Alfayate Corchete
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 10:34 UTC by Clayton Craft
Modified: 2021-02-01 03:01 UTC (History)
0 users

See Also:


Attachments
v1 patch (2.09 KB, patch)
2021-01-30 10:34 UTC, Clayton Craft
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clayton Craft 2021-01-30 10:34:48 UTC
Created attachment 4737 [details]
v1 patch

Some hardware (imx6, imx8 w/ vivante 7000 gpus), do not support async page flipping. I've attached a patch that will only use async page flips when drm CAP shows that the hw supports it.
Comment 1 Manuel Alfayate Corchete 2021-01-30 21:11:55 UTC
Comment on attachment 4737 [details]
v1 patch

Sounds good to me. @Sam et all, any objections to merge this one?
Comment 2 Sam Lantinga 2021-01-31 02:20:08 UTC
Nope, go for it.
Comment 3 Manuel Alfayate Corchete 2021-01-31 02:49:52 UTC
Ok, merged!

Thanks, @Clayton Craft!
Comment 4 Manuel Alfayate Corchete 2021-01-31 02:50:11 UTC
Closing this...
Comment 5 Sam Lantinga 2021-02-01 03:01:26 UTC
Manuel, please include a link to the revision that fixes the bug when you close it.

Thanks!