@@ -819,24 +819,6 @@ static int output_bpc_show(struct seq_file *m, void *data)
819
819
return res ;
820
820
}
821
821
822
- /*
823
- * Returns the min and max vrr vfreq through the connector's debugfs file.
824
- * Example usage: cat /sys/kernel/debug/dri/0/DP-1/vrr_range
825
- */
826
- static int vrr_range_show (struct seq_file * m , void * data )
827
- {
828
- struct drm_connector * connector = m -> private ;
829
- struct amdgpu_dm_connector * aconnector = to_amdgpu_dm_connector (connector );
830
-
831
- if (connector -> status != connector_status_connected )
832
- return - ENODEV ;
833
-
834
- seq_printf (m , "Min: %u\n" , (unsigned int )aconnector -> min_vfreq );
835
- seq_printf (m , "Max: %u\n" , (unsigned int )aconnector -> max_vfreq );
836
-
837
- return 0 ;
838
- }
839
-
840
822
#ifdef CONFIG_DRM_AMD_DC_HDCP
841
823
/*
842
824
* Returns the HDCP capability of the Display (1.4 for now).
@@ -1456,7 +1438,6 @@ static ssize_t dp_dsc_slice_bpg_offset_read(struct file *f, char __user *buf,
1456
1438
DEFINE_SHOW_ATTRIBUTE (dmub_fw_state );
1457
1439
DEFINE_SHOW_ATTRIBUTE (dmub_tracebuffer );
1458
1440
DEFINE_SHOW_ATTRIBUTE (output_bpc );
1459
- DEFINE_SHOW_ATTRIBUTE (vrr_range );
1460
1441
#ifdef CONFIG_DRM_AMD_DC_HDCP
1461
1442
DEFINE_SHOW_ATTRIBUTE (hdcp_sink_capability );
1462
1443
#endif
@@ -1561,7 +1542,6 @@ static const struct {
1561
1542
{"link_settings" , & dp_link_settings_debugfs_fops },
1562
1543
{"phy_settings" , & dp_phy_settings_debugfs_fop },
1563
1544
{"test_pattern" , & dp_phy_test_pattern_fops },
1564
- {"vrr_range" , & vrr_range_fops },
1565
1545
#ifdef CONFIG_DRM_AMD_DC_HDCP
1566
1546
{"hdcp_sink_capability" , & hdcp_sink_capability_fops },
1567
1547
#endif
0 commit comments