Skip to content

Commit e94e787

Browse files
Aurabindo Pillaialexdeucher
authored andcommitted
drm/amd: Remove freesync video mode amdgpu parameter
[Why&How] Freesync Video mode was enabled by default. Hence no need for the module parameter, so remove it completely Acked-by: Stylon Wang <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Reviewed-by: Stylon Wang <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent bb9f7b6 commit e94e787

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ extern int amdgpu_emu_mode;
192192
extern uint amdgpu_smu_memory_pool_size;
193193
extern int amdgpu_smu_pptable_id;
194194
extern uint amdgpu_dc_feature_mask;
195-
extern uint amdgpu_freesync_vid_mode;
196195
extern uint amdgpu_dc_debug_mask;
197196
extern uint amdgpu_dc_visual_confirm;
198197
extern uint amdgpu_dm_abm_level;

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ int amdgpu_mes_kiq;
187187
int amdgpu_noretry = -1;
188188
int amdgpu_force_asic_type = -1;
189189
int amdgpu_tmz = -1; /* auto */
190-
uint amdgpu_freesync_vid_mode;
191190
int amdgpu_reset_method = -1; /* auto */
192191
int amdgpu_num_kcq = -1;
193192
int amdgpu_smartshift_bias;
@@ -871,32 +870,6 @@ module_param_named(backlight, amdgpu_backlight, bint, 0444);
871870
MODULE_PARM_DESC(tmz, "Enable TMZ feature (-1 = auto (default), 0 = off, 1 = on)");
872871
module_param_named(tmz, amdgpu_tmz, int, 0444);
873872

874-
/**
875-
* DOC: freesync_video (uint)
876-
* Enable the optimization to adjust front porch timing to achieve seamless
877-
* mode change experience when setting a freesync supported mode for which full
878-
* modeset is not needed.
879-
*
880-
* The Display Core will add a set of modes derived from the base FreeSync
881-
* video mode into the corresponding connector's mode list based on commonly
882-
* used refresh rates and VRR range of the connected display, when users enable
883-
* this feature. From the userspace perspective, they can see a seamless mode
884-
* change experience when the change between different refresh rates under the
885-
* same resolution. Additionally, userspace applications such as Video playback
886-
* can read this modeset list and change the refresh rate based on the video
887-
* frame rate. Finally, the userspace can also derive an appropriate mode for a
888-
* particular refresh rate based on the FreeSync Mode and add it to the
889-
* connector's mode list.
890-
*
891-
* Note: This is an experimental feature.
892-
*
893-
* The default value: 0 (off).
894-
*/
895-
MODULE_PARM_DESC(
896-
freesync_video,
897-
"Enable freesync modesetting optimization feature (0 = off (default), 1 = on)");
898-
module_param_named(freesync_video, amdgpu_freesync_vid_mode, uint, 0444);
899-
900873
/**
901874
* DOC: reset_method (int)
902875
* GPU reset method (-1 = auto (default), 0 = legacy, 1 = mode0, 2 = mode1, 3 = mode2, 4 = baco)

0 commit comments

Comments
 (0)