BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rpusbdisp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Forest Godfrey
rpusbdisp
Commits
d79255bb
Commit
d79255bb
authored
Dec 11, 2013
by
Shikai Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the build bug on Kernel >=3.8
parent
2247a20c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fbhandlers.c
drivers/linux-driver/src/fbhandlers.c
+3
-3
usbhandlers.c
drivers/linux-driver/src/usbhandlers.c
+1
-1
No files found.
drivers/linux-driver/src/fbhandlers.c
100644 → 100755
View file @
d79255bb
...
...
@@ -49,7 +49,7 @@ struct rpusbdisp_fb_private {
static
struct
fb_fix_screeninfo
_vfb_fix
__devinitdata
=
{
static
struct
fb_fix_screeninfo
_vfb_fix
/*__devinitdata*/
=
{
.
id
=
"rpusbdisp-fb"
,
.
type
=
FB_TYPE_PACKED_PIXELS
,
.
visual
=
FB_VISUAL_TRUECOLOR
,
...
...
@@ -59,7 +59,7 @@ static struct fb_fix_screeninfo _vfb_fix __devinitdata = {
};
static
struct
fb_var_screeninfo
_var_info
__devinitdata
=
{
static
struct
fb_var_screeninfo
_var_info
/*__devinitdata*/
=
{
.
xres
=
RP_DISP_DEFAULT_WIDTH
,
.
yres
=
RP_DISP_DEFAULT_HEIGHT
,
.
xres_virtual
=
RP_DISP_DEFAULT_WIDTH
,
...
...
@@ -282,7 +282,7 @@ static void _display_defio_handler(struct fb_info *info,
_display_update
(
info
,
0
,
top
,
info
->
var
.
width
,
bottom
-
top
+
1
,
DISPLAY_UPDATE_HINT_NONE
,
NULL
);
}
static
struct
fb_ops
_display_fbops
__devinitdata
=
{
static
struct
fb_ops
_display_fbops
/*__devinitdata*/
=
{
.
owner
=
THIS_MODULE
,
.
fb_read
=
fb_sys_read
,
.
fb_write
=
_display_write
,
...
...
drivers/linux-driver/src/usbhandlers.c
View file @
d79255bb
...
...
@@ -680,7 +680,7 @@ static int _on_alloc_disp_tickets_pool(struct rpusbdisp_dev * dev)
dev
->
disp_tickets_pool
.
disp_urb_count
=
actual_allocated
;
dev
->
disp_tickets_pool
.
availiable_count
=
actual_allocated
;
dev
->
disp_tickets_pool
.
packet_size_factor
=
packet_size_factor
;
dev_info
(
&
dev
->
interface
->
dev
,
"allocated %d urb tickets for transfering display data. %
d
size each
\n
"
,
actual_allocated
,
ticket_logic_size
);
dev_info
(
&
dev
->
interface
->
dev
,
"allocated %d urb tickets for transfering display data. %
lu
size each
\n
"
,
actual_allocated
,
ticket_logic_size
);
return
actual_allocated
?
0
:-
ENOMEM
;
};
...
...
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