drm/amd/display: Report Freesync to vrr_range debugfs entry in DRM
authorStylon Wang <stylon.wang@amd.com>
Tue, 5 Jan 2021 06:07:51 +0000 (14:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:18 +0000 (16:38 -0500)
commita0ffc3fd67e72bf5f1d4369a9b7448653127590c
tree391b0cb5ff1e699d580d8d42ab4cd19500b69930
parentd2138be3831499e1d112bb5994f30870f08e6df0
drm/amd/display: Report Freesync to vrr_range debugfs entry in DRM

[Why]
Since Linux 5.9.0, DRM has provided vrr_range debugfs for
all connectors. Reporting Freesync capability to vrr_range
debugfs entry registered in Linux DM no longer works.

[How]
Report min/max vertical frequency to vrr_range debugfs entrry
created by DRM connectors. Remove vrr_range debugfs entry from
Linux DM.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c