diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-22 13:09:21 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-31 14:13:57 +0100 |
commit | 9a70cc2a7882dfc0d44a623b4a84f279714a6372 (patch) | |
tree | 6e3686764f8d71bd4ad15fb408f8b4da7dd48e6d /drivers/gpu/drm/i915/i915_drv.h | |
parent | 946c7491b37704016cdbba60915d1de2c79c3b57 (diff) | |
download | lwn-9a70cc2a7882dfc0d44a623b4a84f279714a6372.tar.gz lwn-9a70cc2a7882dfc0d44a623b4a84f279714a6372.zip |
i915: add dma-buf vmap support for exporting vmapped buffer
This is used to export a vmapping to the udl driver so that
i915 and udl can share the udl scanout.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 377c21f531e4..c9cfc67c2cf5 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -942,6 +942,9 @@ struct drm_i915_gem_object { /* prime dma-buf support */ struct sg_table *sg_table; + void *dma_buf_vmapping; + int vmapping_count; + /** * Used for performing relocations during execbuffer insertion. */ |