diff options
author | Sonny Jiang <sonny.jiang@amd.com> | 2018-07-17 15:27:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-18 17:18:44 -0400 |
commit | f3cdadb6fee9287d81d2dacd830bd5b439cb7331 (patch) | |
tree | ae985e90b74434640c87a7a6074cb8a3af644fe4 /drivers/gpu/drm/amd | |
parent | b5286801705b39e44b824520714d503f882fef1c (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.h | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 12 |
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; | |||
106 | extern int amdgpu_vm_debug; | 106 | extern int amdgpu_vm_debug; |
107 | extern int amdgpu_vm_update_mode; | 107 | extern int amdgpu_vm_update_mode; |
108 | extern int amdgpu_dc; | 108 | extern int amdgpu_dc; |
109 | extern int amdgpu_dc_log; | ||
110 | extern int amdgpu_sched_jobs; | 109 | extern int amdgpu_sched_jobs; |
111 | extern int amdgpu_sched_hw_submission; | 110 | extern int amdgpu_sched_hw_submission; |
112 | extern int amdgpu_no_evict; | ||
113 | extern int amdgpu_direct_gma_size; | ||
114 | extern uint amdgpu_pcie_gen_cap; | 111 | extern uint amdgpu_pcie_gen_cap; |
115 | extern uint amdgpu_pcie_lane_cap; | 112 | extern uint amdgpu_pcie_lane_cap; |
116 | extern uint amdgpu_cg_mask; | 113 | extern 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; | |||
104 | int amdgpu_vm_update_mode = -1; | 104 | int amdgpu_vm_update_mode = -1; |
105 | int amdgpu_exp_hw_support = 0; | 105 | int amdgpu_exp_hw_support = 0; |
106 | int amdgpu_dc = -1; | 106 | int amdgpu_dc = -1; |
107 | int amdgpu_dc_log = 0; | ||
108 | int amdgpu_sched_jobs = 32; | 107 | int amdgpu_sched_jobs = 32; |
109 | int amdgpu_sched_hw_submission = 2; | 108 | int amdgpu_sched_hw_submission = 2; |
110 | int amdgpu_no_evict = 0; | ||
111 | int amdgpu_direct_gma_size = 0; | ||
112 | uint amdgpu_pcie_gen_cap = 0; | 109 | uint amdgpu_pcie_gen_cap = 0; |
113 | uint amdgpu_pcie_lane_cap = 0; | 110 | uint amdgpu_pcie_lane_cap = 0; |
114 | uint amdgpu_cg_mask = 0xffffffff; | 111 | uint amdgpu_cg_mask = 0xffffffff; |
@@ -341,9 +338,6 @@ module_param_named(exp_hw_support, amdgpu_exp_hw_support, int, 0444); | |||
341 | MODULE_PARM_DESC(dc, "Display Core driver (1 = enable, 0 = disable, -1 = auto (default))"); | 338 | MODULE_PARM_DESC(dc, "Display Core driver (1 = enable, 0 = disable, -1 = auto (default))"); |
342 | module_param_named(dc, amdgpu_dc, int, 0444); | 339 | module_param_named(dc, amdgpu_dc, int, 0444); |
343 | 340 | ||
344 | MODULE_PARM_DESC(dc_log, "Display Core Log Level (0 = minimal (default), 1 = chatty"); | ||
345 | module_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); | |||
366 | MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); | 360 | MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); |
367 | module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444); | 361 | module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444); |
368 | 362 | ||
369 | MODULE_PARM_DESC(no_evict, "Support pinning request from user space (1 = enable, 0 = disable (default))"); | ||
370 | module_param_named(no_evict, amdgpu_no_evict, int, 0444); | ||
371 | |||
372 | MODULE_PARM_DESC(direct_gma_size, "Direct GMA size in megabytes (max 96MB)"); | ||
373 | module_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. |