Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
linux
linux-davinci-2.6.23
Commits
1ddb8a16
Commit
1ddb8a16
authored
Apr 30, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ARM: AMBA CLCD: program palette for pseudocolor visuals
Signed-off-by:
Russell King
<
rmk@arm.linux.org.uk
>
parent
bb9bffcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/video/amba-clcd.c
drivers/video/amba-clcd.c
+1
-1
No files found.
drivers/video/amba-clcd.c
View file @
1ddb8a16
...
...
@@ -256,7 +256,7 @@ clcdfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
convert_bitfield
(
green
,
&
fb
->
fb
.
var
.
green
)
|
convert_bitfield
(
red
,
&
fb
->
fb
.
var
.
red
);
if
(
fb
->
fb
.
var
.
bits_per_pixel
==
8
&&
regno
<
256
)
{
if
(
fb
->
fb
.
fix
.
visual
==
FB_VISUAL_PSEUDOCOLOR
&&
regno
<
256
)
{
int
hw_reg
=
CLCD_PALETTE
+
((
regno
*
2
)
&
~
3
);
u32
val
,
mask
,
newval
;
...
...
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