drm: Handle drm masters and minors like Linux