diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-02 03:13:12 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-02 03:13:12 +0000 |
commit | e12edda404a15b1bc2b54ec35986c3fa0fd6fee5 (patch) | |
tree | b852d77f7864d9285739647db44193aea46dd28c /sys | |
parent | 5b4974148c154976932305f38293d884fd9dc13f (diff) |
drm/amd/display: Enable output_bpc property on all outputs
From Stylon Wang
937007f09e254ee46a1cacc1d71be2381848f5a8 in linux 5.7.y/5.7.7
5ae9c378c3d88b40af72f8e8f961808e29f3e70b in mainline linux
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c index 0461fecd68d..11491ae1eff 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c @@ -1017,7 +1017,6 @@ static const struct { {"link_settings", &dp_link_settings_debugfs_fops}, {"phy_settings", &dp_phy_settings_debugfs_fop}, {"test_pattern", &dp_phy_test_pattern_fops}, - {"output_bpc", &output_bpc_fops}, {"vrr_range", &vrr_range_fops}, {"sdp_message", &sdp_message_fops}, {"aux_dpcd_address", &dp_dpcd_address_debugfs_fops}, @@ -1090,6 +1089,9 @@ void connector_debugfs_init(struct amdgpu_dm_connector *connector) debugfs_create_file_unsafe("force_yuv420_output", 0644, dir, connector, &force_yuv420_output_fops); + debugfs_create_file("output_bpc", 0644, dir, connector, + &output_bpc_fops); + connector->debugfs_dpcd_address = 0; connector->debugfs_dpcd_size = 0; |