]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove unused freesync functions
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 2 Feb 2025 21:58:51 +0000 (21:58 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:03:02 +0000 (21:03 -0500)
commit2d5e8a8997aa3ca153fc2ad016c88012c97afa9e
tree6efeaf16dde45438d6e25bd66b1234fd8bf8e780
parent3bd202b3c4c7235499060ead7b3a4ffe7008a8aa
drm/amd/display: Remove unused freesync functions

mod_freesync_get_vmin_vmax() and mod_freesync_get_v_position() were
added in 2017 by
commit 72ada5f76939 ("drm/amd/display: FreeSync Auto Sweep Support")

mod_freesync_is_valid_range() was added in 2018 by
commit e80e94460841 ("drm/amd/display: add method to check for supported
range")

mod_freesync_get_settings() was added in 2018 by
commit a3e1737ed61c ("drm/amd/display: Implement stats logging")

and
mod_freesync_calc_field_rate_from_timing() was added in 2020 by
commit 49c70ece54b0 ("drm/amd/display: Change input parameter for
set_drr")

None of these have been used.

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h