summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-01-22 11:17:18 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:18:29 -0500
commit18d09e63e09354f4ee3230ce2c9366de4e960476 (patch)
tree8a091f396ce3dbe05b829942602a120021cf7361 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parent734dd01d56bfc7ecd5323c8013bb97ffbbbf18ff (diff)
downloadop-kernel-dev-18d09e63e09354f4ee3230ce2c9366de4e960476.zip
op-kernel-dev-18d09e63e09354f4ee3230ce2c9366de4e960476.tar.gz
drm/amdgpu: reduce reserved VA size
1MB should be more than enough, currently we use about 8K. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index 21a80f1..fabf44b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -99,7 +99,7 @@ struct amdgpu_bo_list_entry;
#define AMDGPU_MMHUB 1
/* hardcode that limit for now */
-#define AMDGPU_VA_RESERVED_SIZE (8ULL << 20)
+#define AMDGPU_VA_RESERVED_SIZE (1ULL << 20)
/* VA hole for 48bit addresses on Vega10 */
#define AMDGPU_VA_HOLE_START 0x0000800000000000ULL
OpenPOWER on IntegriCloud