aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorSonny Jiang <sonny.jiang@amd.com>2018-07-17 15:27:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-07-18 17:18:44 -0400
commitf3cdadb6fee9287d81d2dacd830bd5b439cb7331 (patch)
treeae985e90b74434640c87a7a6074cb8a3af644fe4 /drivers/gpu/drm/amd
parentb5286801705b39e44b824520714d503f882fef1c (diff)
drm/amdgpu: remove internal/unused kernel module parameters
Remove internal/unused kernel module parameters Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h3
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c12
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 90780b0f0ce5..44f62fda4022 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -106,11 +106,8 @@ extern int amdgpu_vm_fault_stop;
106extern int amdgpu_vm_debug; 106extern int amdgpu_vm_debug;
107extern int amdgpu_vm_update_mode; 107extern int amdgpu_vm_update_mode;
108extern int amdgpu_dc; 108extern int amdgpu_dc;
109extern int amdgpu_dc_log;
110extern int amdgpu_sched_jobs; 109extern int amdgpu_sched_jobs;
111extern int amdgpu_sched_hw_submission; 110extern int amdgpu_sched_hw_submission;
112extern int amdgpu_no_evict;
113extern int amdgpu_direct_gma_size;
114extern uint amdgpu_pcie_gen_cap; 111extern uint amdgpu_pcie_gen_cap;
115extern uint amdgpu_pcie_lane_cap; 112extern uint amdgpu_pcie_lane_cap;
116extern uint amdgpu_cg_mask; 113extern uint amdgpu_cg_mask;
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 529500c94675..8843a06360fa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -104,11 +104,8 @@ int amdgpu_vram_page_split = 512;
104int amdgpu_vm_update_mode = -1; 104int amdgpu_vm_update_mode = -1;
105int amdgpu_exp_hw_support = 0; 105int amdgpu_exp_hw_support = 0;
106int amdgpu_dc = -1; 106int amdgpu_dc = -1;
107int amdgpu_dc_log = 0;
108int amdgpu_sched_jobs = 32; 107int amdgpu_sched_jobs = 32;
109int amdgpu_sched_hw_submission = 2; 108int amdgpu_sched_hw_submission = 2;
110int amdgpu_no_evict = 0;
111int amdgpu_direct_gma_size = 0;
112uint amdgpu_pcie_gen_cap = 0; 109uint amdgpu_pcie_gen_cap = 0;
113uint amdgpu_pcie_lane_cap = 0; 110uint amdgpu_pcie_lane_cap = 0;
114uint amdgpu_cg_mask = 0xffffffff; 111uint amdgpu_cg_mask = 0xffffffff;
@@ -341,9 +338,6 @@ module_param_named(exp_hw_support, amdgpu_exp_hw_support, int, 0444);
341MODULE_PARM_DESC(dc, "Display Core driver (1 = enable, 0 = disable, -1 = auto (default))"); 338MODULE_PARM_DESC(dc, "Display Core driver (1 = enable, 0 = disable, -1 = auto (default))");
342module_param_named(dc, amdgpu_dc, int, 0444); 339module_param_named(dc, amdgpu_dc, int, 0444);
343 340
344MODULE_PARM_DESC(dc_log, "Display Core Log Level (0 = minimal (default), 1 = chatty");
345module_param_named(dc_log, amdgpu_dc_log, int, 0444);
346
347/** 341/**
348 * DOC: sched_jobs (int) 342 * DOC: sched_jobs (int)
349 * Override the max number of jobs supported in the sw queue. The default is 32. 343 * Override the max number of jobs supported in the sw queue. The default is 32.
@@ -366,12 +360,6 @@ module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444);
366MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); 360MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))");
367module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444); 361module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444);
368 362
369MODULE_PARM_DESC(no_evict, "Support pinning request from user space (1 = enable, 0 = disable (default))");
370module_param_named(no_evict, amdgpu_no_evict, int, 0444);
371
372MODULE_PARM_DESC(direct_gma_size, "Direct GMA size in megabytes (max 96MB)");
373module_param_named(direct_gma_size, amdgpu_direct_gma_size, int, 0444);
374
375/** 363/**
376 * DOC: pcie_gen_cap (uint) 364 * DOC: pcie_gen_cap (uint)
377 * Override PCIE gen speed capabilities. See the CAIL flags in drivers/gpu/drm/amd/include/amd_pcie.h. 365 * Override PCIE gen speed capabilities. See the CAIL flags in drivers/gpu/drm/amd/include/amd_pcie.h.