]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8ebfae378e73a739415092277839a9009162f0a
tree391b0cb5ff1e699d580d8d42ab4cd19500b69930
parentda88f1214a62af1fca0b98a74f158d108813d818
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