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
30600a90
Commit
30600a90
authored
Sep 28, 2013
by
Rob Clark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/msm: use drm_gem_dumb_destroy helper
Signed-off-by:
Rob Clark
<
robdclark@gmail.com
>
parent
33b55963
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.c
+1
-1
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.c
+0
-7
No files found.
drivers/gpu/drm/msm/msm_drv.c
View file @
30600a90
...
@@ -697,7 +697,7 @@ static struct drm_driver msm_driver = {
...
@@ -697,7 +697,7 @@ static struct drm_driver msm_driver = {
.
gem_vm_ops
=
&
vm_ops
,
.
gem_vm_ops
=
&
vm_ops
,
.
dumb_create
=
msm_gem_dumb_create
,
.
dumb_create
=
msm_gem_dumb_create
,
.
dumb_map_offset
=
msm_gem_dumb_map_offset
,
.
dumb_map_offset
=
msm_gem_dumb_map_offset
,
.
dumb_destroy
=
ms
m_gem_dumb_destroy
,
.
dumb_destroy
=
dr
m_gem_dumb_destroy
,
#ifdef CONFIG_DEBUG_FS
#ifdef CONFIG_DEBUG_FS
.
debugfs_init
=
msm_debugfs_init
,
.
debugfs_init
=
msm_debugfs_init
,
.
debugfs_cleanup
=
msm_debugfs_cleanup
,
.
debugfs_cleanup
=
msm_debugfs_cleanup
,
...
...
drivers/gpu/drm/msm/msm_gem.c
View file @
30600a90
...
@@ -319,13 +319,6 @@ int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
...
@@ -319,13 +319,6 @@ int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
MSM_BO_SCANOUT
|
MSM_BO_WC
,
&
args
->
handle
);
MSM_BO_SCANOUT
|
MSM_BO_WC
,
&
args
->
handle
);
}
}
int
msm_gem_dumb_destroy
(
struct
drm_file
*
file
,
struct
drm_device
*
dev
,
uint32_t
handle
)
{
/* No special work needed, drop the reference and see what falls out */
return
drm_gem_handle_delete
(
file
,
handle
);
}
int
msm_gem_dumb_map_offset
(
struct
drm_file
*
file
,
struct
drm_device
*
dev
,
int
msm_gem_dumb_map_offset
(
struct
drm_file
*
file
,
struct
drm_device
*
dev
,
uint32_t
handle
,
uint64_t
*
offset
)
uint32_t
handle
,
uint64_t
*
offset
)
{
{
...
...
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