drm: move drm_mmap to <drm/drm_legacy.h>
authorDaniel Vetter <[email protected]>
Tue, 23 Sep 2014 13:46:49 +0000 (15:46 +0200)
committerDave Airlie <[email protected]>
Wed, 24 Sep 2014 01:43:07 +0000 (11:43 +1000)
commitbfbf3c851ce53b914fe98d60ea3fe3fc1ab75b96
tree789fa903b1dfd94ffb95a5546830cef74025b622
parent197633b924517082327b66db6caf34bae720ea4e
drm: move drm_mmap to <drm/drm_legacy.h>

Now that we've removed the copypasted users in gem/ttm we can
relegate the legacy buffer mapping support to where it belongs.
Also give it the proper drm_legacy_ prefix.

While at it statify drm_mmap_locked, somehow I've missed that in my
previous header rework.

Signed-off-by: Daniel Vetter <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
12 files changed:
drivers/gpu/drm/drm_internal.h
drivers/gpu/drm/drm_vm.c
drivers/gpu/drm/i810/i810_drv.c
drivers/gpu/drm/mga/mga_drv.c
drivers/gpu/drm/r128/r128_drv.c
drivers/gpu/drm/radeon/radeon_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
include/drm/drm_legacy.h