]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Limit the maximum size of contiguous VRAM that can be encapsulated by...
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>
Thu, 28 Jan 2021 03:34:22 +0000 (21:34 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:05:29 +0000 (12:05 -0500)
commit0950eeced90e4d299aa28eea2aa1475aadcfb1cc
treeccdff5be3d633cddf21208b85aee44e99466773d
parenta99d96ef04634b1fc1eefbb5aeba1318438044f0
drm/amdgpu: Limit the maximum size of contiguous VRAM that can be encapsulated by an instance of DRM memory node

[Why]
Enable 1:1 mapping between VRAM of a DRM node and a scatterlist node

[How]
Ensure construction of DRM node to not exceed specified limit

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c