Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d77461da
Commit
d77461da
authored
Mar 04, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FFB]: Force-disable cursor in ffb_switch_from_graph().
parent
3d635a5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
drivers/video/ffb.c
drivers/video/ffb.c
+9
-0
No files found.
drivers/video/ffb.c
View file @
d77461da
...
...
@@ -466,6 +466,7 @@ static __inline__ void ffb_rop(struct ffb_par *par, u32 rop)
static
void
ffb_switch_from_graph
(
struct
ffb_par
*
par
)
{
struct
ffb_fbc
*
fbc
=
par
->
fbc
;
struct
ffb_dac
*
dac
=
par
->
dac
;
unsigned
long
flags
;
spin_lock_irqsave
(
&
par
->
lock
,
flags
);
...
...
@@ -482,6 +483,14 @@ static void ffb_switch_from_graph(struct ffb_par *par)
upa_writel
(
par
->
fg_cache
,
&
fbc
->
fg
);
upa_writel
(
par
->
bg_cache
,
&
fbc
->
bg
);
FFBWait
(
par
);
/* Disable cursor. */
upa_writel
(
0x100
,
&
dac
->
type2
);
if
(
par
->
dac_rev
<=
2
)
upa_writel
(
0
,
&
dac
->
value2
);
else
upa_writel
(
3
,
&
dac
->
value2
);
spin_unlock_irqrestore
(
&
par
->
lock
,
flags
);
}
...
...
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