mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 14:50:11 +01:00
xf86drm: mark DRM_MAX_MINOR as deprecated
With the work in [1], libdrm users should no longer rely on the minor numbering scheme we've used so far. Instead, they should use drmGetDevices2(). [1]: https://lore.kernel.org/lkml/20230724211428.3831636-1-michal.winiarski@intel.com/ Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
parent
13691f5266
commit
bdab606879
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DRM_MAX_MINOR
|
#ifndef DRM_MAX_MINOR
|
||||||
#define DRM_MAX_MINOR 64
|
#define DRM_MAX_MINOR 64 /* deprecated */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue