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 - [PATCH] [KMS/DRM] bump libdrm and libgbm version requirements in configury
Summary: [PATCH] [KMS/DRM] bump libdrm and libgbm version requirements in configury
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-26 07:50 UTC by Ozkan Sezer
Modified: 2020-09-26 17:43 UTC (History)
1 user (show)

See Also:


Attachments
kmsdrm configury patch (5.30 KB, patch)
2020-09-26 07:50 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.