drm: Mark up legacy/dri1 drivers with DRM_LEGACY
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Aug 2016 19:11:09 +0000 (21:11 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:22 +0000 (10:05 +0200)
commit3cbf6a5deb2f4a469de7a90a3cc169e8fcba95e2
tree8846a2f6342bf6c90dfb124ac5e1120d9b9ab817
parentaafdcfd3f9aa3c9f77ae4e9385f21bf9ae120d3e
drm: Mark up legacy/dri1 drivers with DRM_LEGACY

It's super confusing that new drivers need to be marked with
DRIVER_MODESET when really it means DRIVER_MODERN. Much better to
invert the meaning and rename it to something that's suitably
off-putting.

Since there's over 100 places using DRIVER_MODESET we need to roll out
this change without a flag day.

v2: Update docs.

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470251470-30830-1-git-send-email-daniel.vetter@ffwll.ch
Documentation/gpu/drm-internals.rst
drivers/gpu/drm/i810/i810_drv.c
drivers/gpu/drm/mga/mga_drv.c
drivers/gpu/drm/r128/r128_drv.c
drivers/gpu/drm/savage/savage_drv.c
drivers/gpu/drm/sis/sis_drv.c
drivers/gpu/drm/tdfx/tdfx_drv.c
drivers/gpu/drm/via/via_drv.c
include/drm/drmP.h