diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-31 16:52:17 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-31 17:14:00 +0400 |
commit | 35916acedd8dadb361ef6439d05d60fbe8f53032 (patch) | |
tree | a28efb80e00b96028ce6152c888801e27c8ef58f /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | e8aa1d1ebcbcf98fbb20cad83098f25c7d52753f (diff) | |
download | linux-35916acedd8dadb361ef6439d05d60fbe8f53032.tar.xz |
nouveau: add vmap support to nouveau prime support
Tested sharing to udl.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 634d222c93de..8613cb23808c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -123,6 +123,9 @@ struct nouveau_bo { struct drm_gem_object *gem; int pin_refcnt; + + struct ttm_bo_kmap_obj dma_buf_vmap; + int vmapping_count; }; #define nouveau_bo_tile_layout(nvbo) \ |