summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/Kconfig
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-04-18 09:10:40 +0200
committerDave Airlie <airlied@redhat.com>2019-04-24 04:33:15 +0200
commit61ae227032e7f9278cc7d7224045e77e0dedb33e (patch)
tree037c9119c6c97c362294c24bc7d890a679c0bdd3 /drivers/gpu/drm/nouveau/Kconfig
parentdrm/legacy: don't include any of ati_pcigart in legacy. (v2) (diff)
downloadlinux-61ae227032e7f9278cc7d7224045e77e0dedb33e.tar.xz
linux-61ae227032e7f9278cc7d7224045e77e0dedb33e.zip
drm: allow removal of legacy codepaths (v4.1)
If you don't want the legacy drivers, then lets get rid of all the legacy codepaths from the core module. This drop the size of drm.ko for me by about 10%. 380515 7422 4192 392129 5fbc1 ../../drm-next-build/drivers/gpu/drm/drm.ko 351736 7298 4192 363226 58ada ../../drm-next-build/drivers/gpu/drm/drm.ko v2: drop drm_lock as well, fix some DMA->DRM typos v3: avoid ifdefs in mainline code v4: rework ioctl defs v4.1: fix nouveau Kconfig Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/Kconfig')
-rw-r--r--drivers/gpu/drm/nouveau/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index db28012dbf54..553c7da5e8e0 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -23,7 +23,7 @@ config DRM_NOUVEAU
config NOUVEAU_LEGACY_CTX_SUPPORT
bool "Nouveau legacy context support"
depends on DRM_NOUVEAU
- select DRM_VM
+ select DRM_LEGACY
default y
help
There was a version of the nouveau DDX that relied on legacy