On Wed, Dec 2, 2015 at 10:16 PM, Michel Dänzer <[email protected]> wrote: > From: Michel Dänzer <[email protected]> > > Fixes unresolved symbols on some systems. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93105 > Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Alex Deucher <[email protected]> > --- > src/radeon_kms.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/radeon_kms.c b/src/radeon_kms.c > index 8f84df2..d459740 100644 > --- a/src/radeon_kms.c > +++ b/src/radeon_kms.c > @@ -1136,6 +1136,10 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) > goto fail; > } > > + /* Get ScreenInit function */ > + if (!xf86LoadSubModule(pScrn, "fb")) > + return FALSE; > + > if (!RADEONPreInitAccel_KMS(pScrn)) goto fail; > > radeon_drm_queue_init(); > @@ -1314,9 +1318,6 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags) > /* Set display resolution */ > xf86SetDpi(pScrn, 0, 0); > > - /* Get ScreenInit function */ > - if (!xf86LoadSubModule(pScrn, "fb")) return FALSE; > - > if (!xf86SetGamma(pScrn, zeros)) return FALSE; > > if (!xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE)) { > -- > 2.6.2 > > _______________________________________________ > 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
