Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329553
b: refs/heads/master
c: 7a08329
h: refs/heads/master
i:
  329551: 6b71655
v: v3
  • Loading branch information
Alex Deucher committed Sep 20, 2012
1 parent 994ec46 commit d837f66
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a6f1abbb48f1d90f20b8198c4894c0469468405
refs/heads/master: 7a083293c16bb334945fff8b33e3018fd375b33f
15 changes: 15 additions & 0 deletions trunk/drivers/gpu/drm/radeon/ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,13 @@ uint32_t cayman_vm_page_flags(struct radeon_device *rdev, uint32_t flags)
return r600_flags;
}

/**
* cayman_vm_set_page - update the page tables using the CP
*
* @rdev: radeon_device pointer
*
* Update the page tables using the CP (cayman-si).
*/
void cayman_vm_set_page(struct radeon_device *rdev, struct radeon_vm *vm,
unsigned pfn, struct ttm_mem_reg *mem,
unsigned npages, uint32_t flags)
Expand All @@ -1541,6 +1548,14 @@ void cayman_vm_set_page(struct radeon_device *rdev, struct radeon_vm *vm,
}
}

/**
* cayman_vm_flush - vm flush using the CP
*
* @rdev: radeon_device pointer
*
* Update the page table base and flush the VM TLB
* using the CP (cayman-si).
*/
void cayman_vm_flush(struct radeon_device *rdev, struct radeon_ib *ib)
{
struct radeon_ring *ring = &rdev->ring[ib->ring];
Expand Down

0 comments on commit d837f66

Please sign in to comment.