]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit0e5916ffb8b1f0158651f5867c150ceea3d06991
tree47f3118b1a715f82f87ec689e314bfe0f51b1ae7
parent8acad1a18a78b5ec09b8a02eb26e6ded1404e8b0
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