diff options
author | Dave Airlie <airlied@gmail.com> | 2013-01-22 07:56:04 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-12 07:50:46 +0400 |
commit | afe6804c045fbd69a1b75c681107b5d6df9190de (patch) | |
tree | d102a41ad9bd8ace8edd9b6c2b380fca3d707499 /include/drm/ttm | |
parent | 97d103311aab2c652ef37bc3cd157e701057e535 (diff) | |
download | linux-afe6804c045fbd69a1b75c681107b5d6df9190de.tar.xz |
ttm: export functions to allow qxl do its own iomapping
qxl wants to use io mapping like i915 gem does, for now
just export the symbols so the driver can implement atomic
page maps using io mapping.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index 0fbd046e7c93..9c8dca79808e 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h @@ -902,6 +902,10 @@ extern void ttm_bo_unreserve_locked(struct ttm_buffer_object *bo); * ttm_bo_util.c */ +int ttm_mem_io_reserve(struct ttm_bo_device *bdev, + struct ttm_mem_reg *mem); +void ttm_mem_io_free(struct ttm_bo_device *bdev, + struct ttm_mem_reg *mem); /** * ttm_bo_move_ttm * |