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
nexedi
linux
Commits
0d3470d2
Commit
0d3470d2
authored
Aug 02, 2010
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: remove unused ttm bo list
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
c020c9a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_bo.c
+0
-6
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_drv.h
+0
-2
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_mem.c
+0
-2
No files found.
drivers/gpu/drm/nouveau/nouveau_bo.c
View file @
0d3470d2
...
...
@@ -51,9 +51,6 @@ nouveau_bo_del_ttm(struct ttm_buffer_object *bo)
if
(
nvbo
->
tile
)
nv10_mem_expire_tiling
(
dev
,
nvbo
->
tile
,
NULL
);
spin_lock
(
&
dev_priv
->
ttm
.
bo_list_lock
);
list_del
(
&
nvbo
->
head
);
spin_unlock
(
&
dev_priv
->
ttm
.
bo_list_lock
);
kfree
(
nvbo
);
}
...
...
@@ -166,9 +163,6 @@ nouveau_bo_new(struct drm_device *dev, struct nouveau_channel *chan,
}
nvbo
->
channel
=
NULL
;
spin_lock
(
&
dev_priv
->
ttm
.
bo_list_lock
);
list_add_tail
(
&
nvbo
->
head
,
&
dev_priv
->
ttm
.
bo_list
);
spin_unlock
(
&
dev_priv
->
ttm
.
bo_list_lock
);
*
pnvbo
=
nvbo
;
return
0
;
}
...
...
drivers/gpu/drm/nouveau/nouveau_drv.h
View file @
0d3470d2
...
...
@@ -536,8 +536,6 @@ struct drm_nouveau_private {
struct
drm_global_reference
mem_global_ref
;
struct
ttm_bo_global_ref
bo_global_ref
;
struct
ttm_bo_device
bdev
;
spinlock_t
bo_list_lock
;
struct
list_head
bo_list
;
atomic_t
validate_sequence
;
}
ttm
;
...
...
drivers/gpu/drm/nouveau/nouveau_mem.c
View file @
0d3470d2
...
...
@@ -459,8 +459,6 @@ nouveau_mem_init(struct drm_device *dev)
return
ret
;
}
INIT_LIST_HEAD
(
&
dev_priv
->
ttm
.
bo_list
);
spin_lock_init
(
&
dev_priv
->
ttm
.
bo_list_lock
);
spin_lock_init
(
&
dev_priv
->
tile
.
lock
);
dev_priv
->
fb_available_size
=
dev_priv
->
vram_size
;
...
...
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