Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Xf86 Video Fbturbo
Commits
19ac8389
Commit
19ac8389
authored
Mar 12, 2013
by
Siarhei Siamashka
Browse files
DRI2: Try to explicitly load 'mali' and 'mali_drm' kernel modules
Signed-off-by:
Siarhei Siamashka
<
siarhei.siamashka@gmail.com
>
parent
6f708d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sunxi_mali_ump_dri2.c
View file @
19ac8389
...
...
@@ -35,6 +35,7 @@
#include <sys/ioctl.h>
#include "xorgVersion.h"
#include "xf86_OSproc.h"
#include "xf86.h"
#include "xf86drm.h"
#include "dri2.h"
...
...
@@ -694,6 +695,11 @@ SunxiMaliDRI2 *SunxiMaliDRI2_Init(ScreenPtr pScreen, Bool bUseOverlay)
}
}
if
(
!
xf86LoadKernelModule
(
"mali"
))
xf86DrvMsg
(
pScreen
->
myNum
,
X_INFO
,
"can't load 'mali' kernel module
\n
"
);
if
(
!
xf86LoadKernelModule
(
"mali_drm"
))
xf86DrvMsg
(
pScreen
->
myNum
,
X_INFO
,
"can't load 'mali_drm' kernel module
\n
"
);
if
(
!
xf86LoadSubModule
(
xf86Screens
[
pScreen
->
myNum
],
"dri2"
))
return
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment