https://bugs.freedesktop.org/show_bug.cgi?id=98629
--- Comment #8 from Emil Velikov <emil.l.veli...@gmail.com> ---
Hi Brian,
The define is coming from the kernel's drmP.h. Perhaps we should have
explicitly made it part of the public API/ABI, but that won't help here.
In upstream the major is set in drm_core_init()'s
register_chrdev(DRM_MAJOR...).
After a couple of "???" moments I clicked that you're likely having a problem
with the standalone repo [1].
In there VMWGFX_STANDALONE is set, thus the upstream code path is not hit. You
guys are using drm_chr_dev [see vmwgfx_chrdev_reg()], and where AFAICT MAJOR is
not initialised.
Would be great if you can fix things on your end, but I won't object against a
workaround in libdrm.
[1] https://cgit.freedesktop.org/mesa/vmwgfx/
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel