aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2015-03-04 19:33:41 -0500
committerDave Airlie <airlied@redhat.com>2015-04-01 19:21:48 -0400
commit502e95c6678505474f1056480310cd9382bacbac (patch)
treedc69d2e48c0b2968ef6d1bed29c63913116df300 /drivers/gpu/drm/Kconfig
parent564b687b031ccc647943f946b93037cf0780612a (diff)
drm/vgem: implement virtual GEM
This patch implements the virtual GEM driver with PRIME sharing which allows vgem to import a gem object from other drivers for the purpose of mmap-ing them to userspace. The mmap is done using the mmap operation exported by other drivers. v2: remove platform_device and do not attach to dma bufs v3: use drm helpers for get/put pages v4: correct dumb create pitch Reviewed-by: Rob Clark <robdclark@gmail.com> (v3) Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> (v3) Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Zach Reizner <zachr@google.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r--drivers/gpu/drm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 151a050129e7..47f2ce81b412 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -165,6 +165,15 @@ config DRM_SAVAGE
165 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister 165 Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
166 chipset. If M is selected the module will be called savage. 166 chipset. If M is selected the module will be called savage.
167 167
168config DRM_VGEM
169 tristate "Virtual GEM provider"
170 depends on DRM
171 help
172 Choose this option to get a virtual graphics memory manager,
173 as used by Mesa's software renderer for enhanced performance.
174 If M is selected the module will be called vgem.
175
176
168source "drivers/gpu/drm/exynos/Kconfig" 177source "drivers/gpu/drm/exynos/Kconfig"
169 178
170source "drivers/gpu/drm/rockchip/Kconfig" 179source "drivers/gpu/drm/rockchip/Kconfig"