Commit graph

10 commits

Author SHA1 Message Date
Thomas Hellstrom
9d0f33b178 ttm: Replace the ttm_buffer_object::mutex with a spinlock.
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 23:03:59 +02:00
Thomas Hellstrom
a87bc3c061 ttm: s/flags/placement/
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 22:58:34 +02:00
Thomas Hellstrom
f421b2b10f ttm: Remove the struct ttm_mem_reg::proposed_flags member.
Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 22:57:57 +02:00
Thomas Hellstrom
05abf16c2b ttm: Update buffer object members and protection documentation.
Use linux bitmaps for bo private flags.

Signed-off-by: Thomas Hellstrom <thomas-at-shipmail-dot-org>
2009-05-04 22:55:51 +02:00
Thomas Hellstrom
934dcdd363 ttm: Don't set the ghost object to NULL.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28 21:08:17 +02:00
Thomas Hellstrom
7f38882b15 ttm: Clear the bo->vm_node pointer
a) When the vm_node is freed in ttm_bo.c
b) When we transfer a buffer object in ttm_bo_util.c

Reported by Jerome Glisse.
2009-03-23 08:56:53 +01:00
Thomas Hellstrom
145c81299d ttm: Fix buffer object transfer.
Fix destruction and initalization of "ghost" buffer objects
that are created on pipelined buffer moves.

Reported and suggestions by Jerome Glisse.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-19 10:08:02 +01:00
Thomas Hellstrom
41c3f1ac56 Checkpoint: Use bool for boolean. 2009-02-13 09:00:35 +01:00
Jerome Glisse
5c7574555d ttm: indentation fixes 2009-02-11 17:04:19 +01:00
Thomas Hellstrom
8bce9b9ee2 Add the new TTM code. Adjust drm_hashtab include and exports. 2009-01-17 12:52:39 +01:00