From: Alex Deucher Date: Fri, 31 Aug 2012 17:51:21 +0000 (-0400) Subject: drm/radeon: document async VM changes in ni.c X-Git-Tag: v3.7-rc1~118^2~3^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a083293c16bb334945fff8b33e3018fd375b33f;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git drm/radeon: document async VM changes in ni.c Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index c803328..e09d3a8 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c @@ -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) @@ -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];