DRM_DIR_NAME can be different, for instance on OpenBSD, and the correct location is defined by the xf86drm.h header.
This is commit 6218609a resent after revert from 0b8ce0dd and a design preventing failure if headers are missing or broken.