mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 09:34:33 +00:00
Load fb module before glamoregl/shadow modules
Fixes unresolved symbols on some systems. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93105 (ported from radeon commit 78fbca095ae9887a2d3de48bb07975e2d1126e68) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
59c0a68071
commit
a37746ffce
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user