]> git.baikalelectronics.ru Git - kernel.git/commit
drm: increase drm mmap_range size to 1TB
authorPhilip Yang <Philip.Yang@amd.com>
Wed, 17 Apr 2019 22:15:19 +0000 (22:15 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Apr 2019 21:20:23 +0000 (16:20 -0500)
commitb9b5769810fa190d4046b34510062ac8df47a268
treef4e8f5b3f99d0a33eb9f55daf16c194bbe74b259
parentd6856f2c4902266cec60af266d017566d8cbd24d
drm: increase drm mmap_range size to 1TB

After patch "drm: Use the same mmap-range offset and size for GEM and
TTM", application failed to create bo of system memory because drm
mmap_range size decrease to 64GB from original 1TB. This is not big
enough for applications. Increase the drm mmap_range size to 1TB.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190417221507.933-1-Philip.Yang@amd.com
(cherry picked from commit 96354b5ca4ac74d2e47e75987283963001b517f6)
include/drm/drm_vma_manager.h