drm/radeon: document async VM changes in ni.c
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2a6f1abbb4
commit
7a083293c1
|
@ -1517,6 +1517,13 @@ uint32_t cayman_vm_page_flags(struct radeon_device *rdev, uint32_t flags)
|
||||||
return r600_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,
|
void cayman_vm_set_page(struct radeon_device *rdev, struct radeon_vm *vm,
|
||||||
unsigned pfn, struct ttm_mem_reg *mem,
|
unsigned pfn, struct ttm_mem_reg *mem,
|
||||||
unsigned npages, uint32_t flags)
|
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)
|
void cayman_vm_flush(struct radeon_device *rdev, struct radeon_ib *ib)
|
||||||
{
|
{
|
||||||
struct radeon_ring *ring = &rdev->ring[ib->ring];
|
struct radeon_ring *ring = &rdev->ring[ib->ring];
|
||||||
|
|
Loading…
Reference in New Issue