mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 01:33:00 -04:00
drm/ttm: Export the ttm_k[un]map_atomic_prot API.
It will be used by vmwgfx cpu blit. Reviewed-by: Christian König <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]>
This commit is contained in:
parent
403c1826a4
commit
9c11fcf1a7
2 changed files with 30 additions and 5 deletions
|
|
@ -709,6 +709,10 @@ int ttm_fbdev_mmap(struct vm_area_struct *vma, struct ttm_buffer_object *bo);
|
|||
int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma,
|
||||
struct ttm_bo_device *bdev);
|
||||
|
||||
void *ttm_kmap_atomic_prot(struct page *page, pgprot_t prot);
|
||||
|
||||
void ttm_kunmap_atomic_prot(void *addr, pgprot_t prot);
|
||||
|
||||
/**
|
||||
* ttm_bo_io
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue