diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 09:58:31 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 09:58:31 +0000 |
commit | 71cbc49bf8557d2544373c2468241a0178d34fdc (patch) | |
tree | 4df0fffce27d7b476376a6331ab8af0e03f8971b /sys/dev/drm2/drmP.h | |
parent | 1102975996e1a5a7022338cf02297fce47e29901 (diff) | |
download | FreeBSD-src-71cbc49bf8557d2544373c2468241a0178d34fdc.zip FreeBSD-src-71cbc49bf8557d2544373c2468241a0178d34fdc.tar.gz |
drm: Support gem_open_object() and gem_close_object() callbacks
... in struct drm_driver_info.
Diffstat (limited to 'sys/dev/drm2/drmP.h')
-rw-r--r-- | sys/dev/drm2/drmP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h index 089f277..23e57a9 100644 --- a/sys/dev/drm2/drmP.h +++ b/sys/dev/drm2/drmP.h @@ -737,6 +737,8 @@ struct drm_driver_info { int (*gem_init_object)(struct drm_gem_object *obj); void (*gem_free_object)(struct drm_gem_object *obj); + int (*gem_open_object)(struct drm_gem_object *, struct drm_file *); + void (*gem_close_object)(struct drm_gem_object *, struct drm_file *); struct cdev_pager_ops *gem_pager_ops; |