.configuration = pipe_default_configuration_query,
},
{
- .driver_name = "pl111",
- .create_screen = pipe_kmsro_create_screen,
- .configuration = pipe_default_configuration_query,
- },
- {
.driver_name = "virtio_gpu",
.create_screen = pipe_virgl_create_screen,
.configuration = pipe_default_configuration_query,
.configuration = pipe_default_configuration_query,
},
};
+
+static const struct drm_driver_descriptor default_driver_descriptor = {
+ .driver_name = "kmsro",
+ .create_screen = pipe_kmsro_create_screen,
+ .configuration = pipe_default_configuration_query,
+};
+
#endif
static const struct drm_driver_descriptor *
if (strcmp(driver_descriptors[i].driver_name, driver_name) == 0)
return &driver_descriptors[i];
}
+ return &default_driver_descriptor;
#else
*plib = pipe_loader_find_module(driver_name, PIPE_SEARCH_DIR);
if (!*plib)