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 5299

Summary: [PATCH] [KMS/DRM] bump libdrm and libgbm version requirements in configury
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: redwindwanderer
Version: HG 2.0   
Hardware: All   
OS: Linux   
Attachments: kmsdrm configury patch

Description Ozkan Sezer 2020-09-26 07:50:02 UTC
Created attachment 4471 [details]
kmsdrm configury patch

This patch bumps libdrm and libgbm version requirements in
configure.ac:CheckKMSDRM()

libdrm-2.4.82 is where drmModeAddFB2WithModifiers is first exported and
all of DRM_CAP_CURSOR_WIDTH, DRM_CAP_CURSOR_HEIGHT, DRM_FORMAT_MOD_LINEAR
defines are present.

libgbm-17.1.0 (mesa-17.1.0) is where all of gbm_bo_get_stride_for_plane,
gbm_bo_get_offset, and gbm_bo_get_plane_count are first exported.

OK to apply?
Comment 1 Manuel Alfayate Corchete 2020-09-26 17:42:07 UTC
Merged, you are totally right on this, I had just tried building this in my systems and libGBM versions had all I needed, so never looked at the versions.

Thanks, Ozkan! :)
Comment 2 Manuel Alfayate Corchete 2020-09-26 17:43:34 UTC
Closing this as the suggested patch is merged.