linux_dsm_epyc7002/drivers/gpu/drm/ast
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
..
ast_dp501.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
ast_drv.h drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant 2019-03-19 15:03:53 -05:00
ast_fb.c drm: move drm_can_sleep() to drm_util.h 2019-01-14 10:58:37 +01:00
ast_main.c drm/ast: Replace ttm_bo_unref with ttm_bo_put 2019-01-28 11:42:41 -05:00
ast_mode.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
ast_post.c drm/ast: Call open_key before enable_mmio in POST code 2017-02-28 13:25:32 +10:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/ttm: Quick-test mmap offset in ttm_bo_mmap() 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/ast: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:51 +02:00