]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Used DRM_LEGACY for all legacy functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Aug 2016 19:11:10 +0000 (21:11 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:23 +0000 (10:05 +0200)
commitfa5386459f06dc3b9181d4c954f980b127d1a32f
treec78fb123b9ce1423b673b14974306d811d30e700
parent3cbf6a5deb2f4a469de7a90a3cc169e8fcba95e2
drm: Used DRM_LEGACY for all legacy functions

Except for nouveau, only legacy drivers need this really. And nouveau
is already marked up with DRIVER_KMS_LEGACY_CONTEXT as the special
case.

I've tried to be careful to leave everything related to modeset still
using the DRIVER_MODESET flag. Otherwise it's a direct replacement of
!DRIVER_MODESET with DRIVER_LEGACY checks. Also helps readability
since fewer negative checks overall.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470251470-30830-2-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_agpsupport.c
drivers/gpu/drm/drm_auth.c
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_context.c
drivers/gpu/drm/drm_dma.c
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/drm_lock.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_scatter.c