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
fe009913
Commit
fe009913
authored
Jul 28, 2009
by
Dave Airlie
Browse files
fbdev: update for resources/RAC API removal
parent
16ea2bb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fbdev.c
View file @
fe009913
...
...
@@ -27,8 +27,10 @@
#include "afb.h"
#endif
#ifndef XSERVER_LIBPCIACCESS
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif
#include "fbdevhw.h"
...
...
@@ -413,6 +415,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
fPtr
->
pEnt
=
xf86GetEntityInfo
(
pScrn
->
entityList
[
0
]);
#ifndef XSERVER_LIBPCIACCESS
pScrn
->
racMemFlags
=
RAC_FB
|
RAC_COLORMAP
|
RAC_CURSOR
|
RAC_VIEWPORT
;
/* XXX Is this right? Can probably remove RAC_FB */
pScrn
->
racIoFlags
=
RAC_FB
|
RAC_COLORMAP
|
RAC_CURSOR
|
RAC_VIEWPORT
;
...
...
@@ -423,7 +426,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
"xf86RegisterResources() found resource conflicts
\n
"
);
return
FALSE
;
}
#endif
/* open device */
if
(
!
fbdevHWInit
(
pScrn
,
NULL
,
xf86FindOptionValue
(
fPtr
->
pEnt
->
device
->
options
,
"fbdev"
)))
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