1
0
Fork 0
alistair23-linux/drivers/gpu/drm/hisilicon/hibmc
Thomas Zimmermann bed2dd8421 drm/ttm: Quick-test mmap offset in ttm_bo_mmap()
A BO's address has to be at least the minimum offset. Sharing this
test in ttm_bo_mmap() removes code from drivers. A full buffer-address
validation is still done within drm_vma_offset_lockup_locked().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:03:53 -05:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/hisilicon: fix include notation and remove -Iinclude/drm flag 2017-05-17 14:35:22 +02:00
hibmc_drm_de.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
hibmc_drm_drv.c drm/irq: Don't check for DRIVER_HAVE_IRQ in drm_irq_(un)install 2019-01-29 15:45:06 +01:00
hibmc_drm_drv.h drm/ttm: initialize globals during device init (v2) 2018-11-05 14:21:21 -05:00
hibmc_drm_fbdev.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
hibmc_drm_regs.h
hibmc_drm_vdac.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
hibmc_ttm.c drm/ttm: Quick-test mmap offset in ttm_bo_mmap() 2019-03-19 15:03:53 -05:00