DRM_MAX_PCI_RESOURCE
if (resource >= DRM_MAX_PCI_RESOURCE) {
for (int i = 0; i < DRM_MAX_PCI_RESOURCE; i++) {