]> 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)
commitf7f1da733f9bf4befb0fcbfb73fc6c5bbd8600c1
tree47f3118b1a715f82f87ec689e314bfe0f51b1ae7
parentbbb571d649e8aceb7fa545672d2a18e67e9b30c6
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