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
Show 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,7 +40,9 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,
...
@@ -40,7 +40,9 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,
int
sz
=
sizeof
(
*
submit
)
+
(
nr
*
sizeof
(
submit
->
bos
[
0
]));
int
sz
=
sizeof
(
*
submit
)
+
(
nr
*
sizeof
(
submit
->
bos
[
0
]));
submit
=
kmalloc
(
sz
,
GFP_TEMPORARY
|
__GFP_NOWARN
|
__GFP_NORETRY
);
submit
=
kmalloc
(
sz
,
GFP_TEMPORARY
|
__GFP_NOWARN
|
__GFP_NORETRY
);
if
(
submit
)
{
if
(
!
submit
)
return
NULL
;
submit
->
dev
=
dev
;
submit
->
dev
=
dev
;
submit
->
gpu
=
gpu
;
submit
->
gpu
=
gpu
;
...
@@ -50,7 +52,6 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,
...
@@ -50,7 +52,6 @@ static struct msm_gem_submit *submit_create(struct drm_device *dev,
INIT_LIST_HEAD
(
&
submit
->
bo_list
);
INIT_LIST_HEAD
(
&
submit
->
bo_list
);
ww_acquire_init
(
&
submit
->
ticket
,
&
reservation_ww_class
);
ww_acquire_init
(
&
submit
->
ticket
,
&
reservation_ww_class
);
}
return
submit
;
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