On 12/07/14 12:47, Giovanni Campagna wrote: > 2014-07-11 19:19 GMT+02:00 Emil Velikov <emil.l.veli...@gmail.com>: [snip] >> diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c >> index 347bc99..4014d5c 100644 >> --- a/src/gbm/backends/dri/gbm_dri.c >> +++ b/src/gbm/backends/dri/gbm_dri.c [snip] >> @@ -329,6 +444,43 @@ free_screen: >> } >> >> static int >> +dri_screen_create_swrast(struct gbm_dri_device *dri) >> +{ >> + int ret; >> + >> + dri->base.driver_name = strdup("kms_swrast"); >> + if (dri->base.driver_name == NULL) >> + return -1; > > If you want to load a swrast driver, the name must be swrast. > kms_swrast is not a swrast driver, it's a dri2 driver that uses a > software implementation (and therefore cannot be loaded this way) > Indeed, sorry about that. Had a bit of a brain freeze.
Updated patches should be on the list + in branch egl-drm over at https://github.com/evelikov/Mesa/ -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev