On Tue, Mar 12, 2013 at 2:09 PM, Michel Dänzer <[email protected]> wrote: > From: Michel Dänzer <[email protected]> > > Trying to initialize glamor in that case crashes. > > Signed-off-by: Michel Dänzer <[email protected]>
For the serie Reviewed-by: Jerome Glisse <[email protected]> > --- > src/radeon_glamor.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c > index 5a7561f..ef7d95c 100644 > --- a/src/radeon_glamor.c > +++ b/src/radeon_glamor.c > @@ -93,6 +93,13 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn) > if (strcasecmp(s, "glamor") != 0) > return FALSE; > > + if (!xf86LoaderCheckSymbol("glamor_egl_init")) { > + xf86DrvMsg(scrn->scrnIndex, s ? X_ERROR : X_WARNING, > + "glamor requires Load \"glamoregl\" in " > + "Section \"Module\", disabling.\n"); > + return FALSE; > + } > + > /* Load glamor module */ > if ((glamor_module = xf86LoadSubModule(scrn, > GLAMOR_EGL_MODULE_NAME))) { > version = xf86GetModuleVersion(glamor_module); > -- > 1.8.2.rc3 > > _______________________________________________ > xorg-driver-ati mailing list > [email protected] > http://lists.x.org/mailman/listinfo/xorg-driver-ati _______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
