]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: allocate fbc buffer in AMDGPU_GEM_DOMAIN_GTT
authorShirish S <shirish.s@amd.com>
Tue, 20 Feb 2018 09:04:16 +0000 (14:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:34:17 +0000 (15:34 -0500)
commit745db4d83ceb9d517577409610386166f304a65f
tree47f3118b1a715f82f87ec689e314bfe0f51b1ae7
parent8dc296d727dffb26d9c14197313d2b4d1704e410
drm/amd/display: allocate fbc buffer in AMDGPU_GEM_DOMAIN_GTT

Currently the FBC buffer is allocated in VRAM, since VRAM usage is
dedicatedly for scanouts, by allocating FBC back buffer in GTT
shall help in conserving VRAM for other purposes.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c