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
nexedi
linux
Commits
863c0e92
Commit
863c0e92
authored
Feb 09, 2004
by
James Simmons
Committed by
Linus Torvalds
Feb 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] framebuffer GPM corruption fix.
This patch fixes the GPM cursor corruption people where seeing.
parent
92155747
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
drivers/video/console/fbcon.c
drivers/video/console/fbcon.c
+8
-4
No files found.
drivers/video/console/fbcon.c
View file @
863c0e92
...
...
@@ -1826,9 +1826,11 @@ static int fbcon_do_set_font(struct vc_data *vc, struct console_font_op *op,
vc
->
vc_font
.
height
=
h
;
if
(
vc
->
vc_hi_font_mask
&&
cnt
==
256
)
{
vc
->
vc_hi_font_mask
=
0
;
if
(
vc
->
vc_can_do_color
)
if
(
vc
->
vc_can_do_color
)
{
vc
->
vc_complement_mask
>>=
1
;
vc
->
vc_s_complement_mask
>>=
1
;
}
/* ++Edmund: reorder the attribute bits */
if
(
vc
->
vc_can_do_color
)
{
unsigned
short
*
cp
=
...
...
@@ -1847,9 +1849,11 @@ static int fbcon_do_set_font(struct vc_data *vc, struct console_font_op *op,
}
}
else
if
(
!
vc
->
vc_hi_font_mask
&&
cnt
==
512
)
{
vc
->
vc_hi_font_mask
=
0x100
;
if
(
vc
->
vc_can_do_color
)
if
(
vc
->
vc_can_do_color
)
{
vc
->
vc_complement_mask
<<=
1
;
vc
->
vc_s_complement_mask
<<=
1
;
}
/* ++Edmund: reorder the attribute bits */
{
unsigned
short
*
cp
=
...
...
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