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

Summary: [KMS/DRM] [patch] Do not use async page flips when not supported
Product: SDL Reporter: Clayton Craft <clayton>
Component: videoAssignee: Manuel Alfayate Corchete <redwindwanderer>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.15   
Hardware: All   
OS: Linux   
Attachments: v1 patch

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!