Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Trevisan
xserver
Commits
10f721ac
Commit
10f721ac
authored
Oct 09, 2003
by
Keith Packard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Leave iopl set to 3 so vesa module will work
parent
f74555e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
hw/kdrive/smi/smi.c
hw/kdrive/smi/smi.c
+3
-0
hw/kdrive/smi/smidraw.c
hw/kdrive/smi/smidraw.c
+0
-3
No files found.
hw/kdrive/smi/smi.c
View file @
10f721ac
...
...
@@ -236,6 +236,7 @@ smiEnable (ScreenPtr pScreen)
SmiCardInfo
*
smic
=
pScreenPriv
->
card
->
driver
;
ENTER
();
iopl
(
3
);
if
(
!
subEnable
(
pScreen
))
return
FALSE
;
...
...
@@ -257,8 +258,10 @@ smiDisable (ScreenPtr pScreen)
SmiCardInfo
*
smic
=
pScreenPriv
->
card
->
driver
;
ENTER
();
#if 0
#ifdef XV
KdXVDisable (pScreen);
#endif
#endif
smiResetMMIO
(
pScreenPriv
->
card
,
smic
);
subDisable
(
pScreen
);
...
...
hw/kdrive/smi/smidraw.c
View file @
10f721ac
...
...
@@ -285,8 +285,6 @@ smiDrawEnable (ScreenPtr pScreen)
smic
=
getSmiCardInfo
(
pScreenPriv
);
dpr
=
smic
->
dpr
;
iopl
(
3
);
smis
->
stride
=
pScreenPriv
->
screen
->
fb
[
0
].
byteStride
;
smis
->
dpr_vpr_enable
=
smiGetIndex
(
smic
,
VGA_SEQ_INDEX
,
VGA_SEQ_DATA
,
0x21
)
&
~
0x03
;
...
...
@@ -329,7 +327,6 @@ smiDrawDisable (ScreenPtr pScreen)
smis
=
0
;
dpr
=
0
;
accel_cmd
=
0
;
iopl
(
0
);
LEAVE
();
}
...
...
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