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
62bec818
Commit
62bec818
authored
Jan 29, 2004
by
Egbert Eich
Browse files
Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
parent
48e31aae
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fbdev.c
View file @
62bec818
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c,v 1.4
4
200
3
/0
9/24 02:43:21
dawes Exp $ */
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c,v 1.4
5
200
4
/0
1/11 18:42:59
dawes Exp $ */
/*
* Authors: Alan Hourihane, <alanh@fairlite.demon.co.uk>
...
...
@@ -409,7 +409,8 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
if
(
!
fbdevHWInit
(
pScrn
,
NULL
,
xf86FindOptionValue
(
fPtr
->
pEnt
->
device
->
options
,
"fbdev"
)))
return
FALSE
;
default_depth
=
fbdevHWGetDepth
(
pScrn
,
&
fbbpp
);
if
(
!
xf86SetDepthBpp
(
pScrn
,
default_depth
,
default_depth
,
fbbpp
,
0
))
if
(
!
xf86SetDepthBpp
(
pScrn
,
default_depth
,
default_depth
,
fbbpp
,
Support24bppFb
|
Support32bppFb
|
SupportConvert32to24
|
PreferConvert32to24
))
return
FALSE
;
xf86PrintDepthBpp
(
pScrn
);
...
...
@@ -792,7 +793,8 @@ FBDevScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
FBDevDGAInit
(
pScrn
,
pScreen
);
else
{
xf86DrvMsg
(
scrnIndex
,
X_INFO
,
"Rotated display, disabling DGA
\n
"
);
xf86DrvMsg
(
scrnIndex
,
X_INFO
,
"Enabling Driver rotation, disabling RandR
\n
"
);
xf86DisableRandR
();
if
(
pScrn
->
bitsPerPixel
==
24
)
xf86DrvMsg
(
scrnIndex
,
X_WARNING
,
"Rotation might be broken in 24 bpp
\n
"
);
}
...
...
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