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
c68b08b1
Commit
c68b08b1
authored
Mar 09, 2009
by
Michael Gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FB DRIVER: disabled the vga expansion code.
parent
d29d6626
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
drivers/video/dm/dm_main.c
drivers/video/dm/dm_main.c
+7
-0
No files found.
drivers/video/dm/dm_main.c
View file @
c68b08b1
...
...
@@ -52,6 +52,7 @@
* revision
*/
#define VID0FIX
//#define ENABLE_VGA_EXPANSION
#include <linux/module.h>
#include <linux/kernel.h>
...
...
@@ -253,7 +254,11 @@ static const struct fb_videomode dmfb_modedb[] = {
* vmode, flag
*/
/* Standard Modes */
#ifdef ENABLE_VGA_EXPANSION
{
"480i"
,
60
,
640
,
480
,
0
,
0
,
0
,
0
,
0
,
127
,
5
,
FB_SYNC_BROADCAST
,
FB_VMODE_INTERLACED
,
0
},
#else
{
"480i"
,
60
,
720
,
480
,
0
,
0
,
0
,
0
,
0
,
127
,
5
,
FB_SYNC_BROADCAST
,
FB_VMODE_INTERLACED
,
0
},
#endif
{
"576i"
,
50
,
640
,
480
,
LCD_PANEL_CLOCK
,
0
,
0
,
0
,
0
,
127
,
6
,
FB_SYNC_BROADCAST
,
FB_VMODE_INTERLACED
,
0
},
/* Modes provided by THS8200 */
{
"480p"
,
30
,
720
,
480
,
LCD_PANEL_CLOCK
,
122
,
15
,
36
,
8
,
0x50
,
0x5
,
FB_SYNC_BROADCAST
,
FB_VMODE_NONINTERLACED
,
0
},
...
...
@@ -447,11 +452,13 @@ static void dm_venc_timmings_set(struct dm_info *dm, const struct fb_videomode *
dispc_reg_out
(
VENC_VSTARTA
,
extmode
->
vstarta
);
dispc_reg_out
(
OSD_BASEPX
,
extmode
->
basex
);
dispc_reg_out
(
OSD_BASEPY
,
extmode
->
basey
);
#ifdef ENABLE_VGA_EXPANSION
/* stretch on horizontal and vertical */
//dispc_reg_merge(OSD_MODE, extmode->sh << 13, OSD_MODE_OHRSZ);
dispc_reg_merge
(
OSD_MODE
,
extmode
->
sh
<<
10
,
OSD_MODE_VHRSZ
);
//dispc_reg_merge(OSD_MODE, extmode->sv << 14, OSD_MODE_OVRSZ);
dispc_reg_merge
(
OSD_MODE
,
extmode
->
sv
<<
11
,
OSD_MODE_VVRSZ
);
#endif
}
/**
...
...
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