aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_drv.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-06-05 23:47:32 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-06-09 22:06:53 -0400
commitc1c4413258e46aef9c27696052a5b7110bdf2941 (patch)
treed6ecbaf532b0886b7269d5679732853baf7ff0f4 /drivers/gpu/drm/radeon/radeon_drv.c
parentce6758c8bd36bd77519f8f1ace46f8f1ba5decaf (diff)
downloadlinux-stericsson-c1c4413258e46aef9c27696052a5b7110bdf2941.tar.gz
drm/radeon: make VM size a module parameter (v2)
v2: agd5f: simplify patch Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_drv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index 15447a4119f4..a09426c7a2f7 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -172,6 +172,7 @@ int radeon_dpm = -1;
int radeon_aspm = -1;
int radeon_runtime_pm = -1;
int radeon_hard_reset = 0;
+int radeon_vm_size = 4096;
MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers");
module_param_named(no_wb, radeon_no_wb, int, 0444);
@@ -239,6 +240,9 @@ module_param_named(runpm, radeon_runtime_pm, int, 0444);
MODULE_PARM_DESC(hard_reset, "PCI config reset (1 = force enable, 0 = disable (default))");
module_param_named(hard_reset, radeon_hard_reset, int, 0444);
+MODULE_PARM_DESC(vm_size, "VM address space size in megabytes (default 4GB)");
+module_param_named(vm_size, radeon_vm_size, int, 0444);
+
static struct pci_device_id pciidlist[] = {
radeon_PCI_IDS
};