OpenCloudOS-Kernel/drivers/gpu/drm/bochs
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/bochs: move remaining fb bits to kms 2019-01-14 08:39:17 +01:00
bochs.h drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant 2019-03-19 15:03:53 -05:00
bochs_drv.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
bochs_hw.c drm/bochs: split bochs_hw_setmode 2019-01-14 08:39:08 +01:00
bochs_kms.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
bochs_mm.c drm/ttm: Quick-test mmap offset in ttm_bo_mmap() 2019-03-19 15:03:53 -05:00