diff options
author | Deepak Sharma <Deepak.Sharma@amd.com> | 2018-05-22 15:31:23 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-29 13:17:35 -0500 |
commit | bda31a24dc5c03fd76832c4d672fba8355e3aa44 (patch) | |
tree | 0ee8b4309e6a5b7de95eaa96183a6eddb529351f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 7bee0572e31f1f5963ecc19d55f64f384d0b155b (diff) |
drm/amdgpu: Use GTT for dumb buffer if sg display enabled (v2)
When vram size <= THRESHOLD(256M) lets use GTT for dumb buffer
allocation. As SG will be enabled with vram size <= 256M
scan out will not be an issue.
v2: Use amdgpu_display_supported_domains to get supported domain.
Signed-off-by: Deepak Sharma <Deepak.Sharma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions