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
0efd6b69
Commit
0efd6b69
authored
Aug 06, 2003
by
Petr Vandrovec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matroxfb: Initialize fbcon's cmap.
parent
030803e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
drivers/video/matrox/matroxfb_base.c
drivers/video/matrox/matroxfb_base.c
+1
-0
drivers/video/matrox/matroxfb_crtc2.c
drivers/video/matrox/matroxfb_crtc2.c
+1
-0
No files found.
drivers/video/matrox/matroxfb_base.c
View file @
0efd6b69
...
...
@@ -1680,6 +1680,7 @@ static int initMatrox2(WPMINFO struct board* b){
/* after __init time we are like module... no logo */
ACCESS_FBINFO
(
fbcon
.
flags
)
=
hotplug
?
FBINFO_FLAG_MODULE
:
FBINFO_FLAG_DEFAULT
;
ACCESS_FBINFO
(
video
.
len_usable
)
&=
PAGE_MASK
;
fb_alloc_cmap
(
&
ACCESS_FBINFO
(
fbcon
.
cmap
),
256
,
1
);
#ifndef MODULE
/* mode database is marked __init!!! */
...
...
drivers/video/matrox/matroxfb_crtc2.c
View file @
0efd6b69
...
...
@@ -605,6 +605,7 @@ static int matroxfb_dh_regit(CPMINFO struct matroxfb_dh_fb_info* m2info) {
m2info
->
fbcon
.
flags
=
FBINFO_FLAG_DEFAULT
;
m2info
->
fbcon
.
currcon
=
-
1
;
m2info
->
fbcon
.
pseudo_palette
=
m2info
->
cmap
;
fb_alloc_cmap
(
&
m2info
->
fbcon
.
cmap
,
256
,
1
);
if
(
mem
<
64
)
mem
*=
1024
;
...
...
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