]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add VRAM manager v2
authorChristian König <christian.koenig@amd.com>
Wed, 24 Aug 2016 13:51:49 +0000 (15:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:16 +0000 (14:38 -0400)
commitff288dd67005a94d10c4e11b2088fe960db71c0c
tree1ef1f56a79e71583af76aaf2cf57ebc044a2c4c5
parentfd61174e0af2607335a25e060ffe5ecc5a20b5c0
drm/amdgpu: add VRAM manager v2

Split VRAM allocations into 4MB blocks.

v2: fix typo in comment, some suggested cleanups
v3: document how to disable the feature, fix rebase issue

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c [new file with mode: 0644]