1config BR2_PACKAGE_HAS_LIBGBM
2	bool
3
4config BR2_PACKAGE_PROVIDES_LIBGBM
5	string
6	depends on BR2_PACKAGE_HAS_LIBGBM
7
8# gbm implementations should select
9# BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT if they
10# provide the format modifier plane count feature. This API was
11# initially introduced in mesa3d version 17. A gbm implementation
12# provides this feature if it is implement function
13# gbm_device_get_format_modifier_plane_count.
14config BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
15	bool
16	depends on BR2_PACKAGE_HAS_LIBGBM
17
18# gbm implementations should select
19# BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF if they provide the dma
20# buffer feature. This API was initially introduced in mesa3d version
21# 10. A gbm implementation provides this feature if it is implement
22# function gbm_bo_get_fd.
23config BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
24	bool
25	depends on BR2_PACKAGE_HAS_LIBGBM
26