diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 00:34:44 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 00:34:44 +0000 |
commit | 3d85fa925057fddf6d12735ebe6b0c02550511b8 (patch) | |
tree | 6057ef8c6911ae12d25ff4106394a6ca1b714f88 /sys/dev/drm2/drmP.h | |
parent | 3462fe45405dfe1f24eb8ffd7f0ee7da258f2911 (diff) | |
download | FreeBSD-src-3d85fa925057fddf6d12735ebe6b0c02550511b8.zip FreeBSD-src-3d85fa925057fddf6d12735ebe6b0c02550511b8.tar.gz |
drm: In drm_mmap_single, try ttm_bo_mmap_single() before drm_gem_mmap_single()
In drivers such as the Radeon driver, the DRIVER_GEM features flag is
set but TTM is used to mmap buffer object.
Diffstat (limited to 'sys/dev/drm2/drmP.h')
-rw-r--r-- | sys/dev/drm2/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h index 284bb7f..089f277 100644 --- a/sys/dev/drm2/drmP.h +++ b/sys/dev/drm2/drmP.h @@ -913,7 +913,7 @@ struct drm_device { struct drm_minor *control; /**< Control node for card */ struct drm_minor *primary; /**< render type primary screen head */ - void *drm_ttm_bo; + void *drm_ttm_bdev; struct unrhdr *drw_unrhdr; /* RB tree of drawable infos */ RB_HEAD(drawable_tree, bsd_drm_drawable_info) drw_head; |