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
Kirill Smelkov
linux
Commits
6860b56c
Commit
6860b56c
authored
May 03, 2016
by
Rob Clark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/msm: de-indent submit_create()
Signed-off-by:
Rob Clark
<
robdclark@gmail.com
>
parent
1193c3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/gpu/drm/msm/msm_gem_submit.c
+10
-9
No files found.
drivers/gpu/drm/msm/msm_gem_submit.c
View file @
6860b56c
...
...
@@ -40,17 +40,18 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,
int
sz
=
sizeof
(
*
submit
)
+
(
nr
*
sizeof
(
submit
->
bos
[
0
]));
submit
=
kmalloc
(
sz
,
GFP_TEMPORARY
|
__GFP_NOWARN
|
__GFP_NORETRY
);
if
(
submit
)
{
submit
->
dev
=
dev
;
submit
->
gpu
=
gpu
;
if
(
!
submit
)
return
NULL
;
/* initially, until copy_from_user() and bo lookup succeeds: */
submit
->
nr_bos
=
0
;
submit
->
nr_cmds
=
0
;
submit
->
dev
=
dev
;
submit
->
gpu
=
gpu
;
INIT_LIST_HEAD
(
&
submit
->
bo_list
);
ww_acquire_init
(
&
submit
->
ticket
,
&
reservation_ww_class
);
}
/* initially, until copy_from_user() and bo lookup succeeds: */
submit
->
nr_bos
=
0
;
submit
->
nr_cmds
=
0
;
INIT_LIST_HEAD
(
&
submit
->
bo_list
);
ww_acquire_init
(
&
submit
->
ticket
,
&
reservation_ww_class
);
return
submit
;
}
...
...
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