[PATCH xf86-video-amdgpu 2/3] Load fb module before glamoregl/shadow modules
Michel Dänzer
michel at daenzer.net
Mon Feb 15 09:46:24 UTC 2016
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
(ported from radeon commit 78fbca095ae9887a2d3de48bb07975e2d1126e68)
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/amdgpu_kms.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/amdgpu_kms.c b/src/amdgpu_kms.c
index c466362..7bbef32 100644
--- a/src/amdgpu_kms.c
+++ b/src/amdgpu_kms.c
@@ -798,6 +798,10 @@ Bool AMDGPUPreInit_KMS(ScrnInfoPtr pScrn, int flags)
goto fail;
}
+ /* Get ScreenInit function */
+ if (!xf86LoadSubModule(pScrn, "fb"))
+ return FALSE;
+
if (!AMDGPUPreInitAccel_KMS(pScrn))
goto fail;
@@ -883,10 +887,6 @@ Bool AMDGPUPreInit_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;
--
2.7.0
More information about the xorg-driver-ati
mailing list