[PATCH] Load fb module before glamoregl/shadow modules
Alex Deucher
alexdeucher at gmail.com
Thu Dec 3 07:29:54 PST 2015
On Wed, Dec 2, 2015 at 10:16 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Fixes unresolved symbols on some systems.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93105
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> 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
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
More information about the xorg-driver-ati
mailing list