OpenCloudOS-Kernel/drivers/staging/vboxvideo
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 staging: vboxvideo: select DRM_TTM 2017-08-18 15:57:15 -07:00
Makefile staging: vboxvideo: Cleanup header use 2018-11-07 12:59:50 +01:00
TODO staging/vboxvideo: Add TODO 2019-02-06 16:59:12 +01:00
hgsmi_base.c staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
hgsmi_ch_setup.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
hgsmi_channels.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
hgsmi_defs.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
modesetting.c staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vbox_drv.c staging/vboxvideo: prepare for drmP.h removal from drm_modeset_helper.h 2019-02-07 21:47:29 +01:00
vbox_drv.h drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant 2019-03-19 15:03:53 -05:00
vbox_fb.c staging/vboxvideo: prepare for drmP.h removal from drm_modeset_helper.h 2019-02-07 21:47:29 +01:00
vbox_hgsmi.c staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vbox_irq.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
vbox_main.c staging: vboxvideo: Drop DRM_MODE_FB_CMD define 2018-11-07 12:59:50 +01:00
vbox_mode.c staging/vboxvideo: prepare for drmP.h removal from drm_modeset_helper.h 2019-02-07 21:47:29 +01:00
vbox_prime.c staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vbox_ttm.c drm/ttm: Quick-test mmap offset in ttm_bo_mmap() 2019-03-19 15:03:53 -05:00
vboxvideo.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vboxvideo_guest.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vboxvideo_vbe.h staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00
vbva_base.c staging: vboxvideo: Change licence headers over to SPDX 2018-11-07 12:27:33 +01:00