Skip to content

Commit 5ae9c37

Browse files
Stylon Wangalexdeucher
authored andcommitted
drm/amd/display: Enable output_bpc property on all outputs
[Why] Connector property output_bpc is available on DP/eDP only. New IGT tests would benifit if this property works on HDMI. [How] Enable this read-only property on all types of connectors. Signed-off-by: Stylon Wang <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent edfaf6f commit 5ae9c37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,6 @@ static const struct {
10581058
{"link_settings", &dp_link_settings_debugfs_fops},
10591059
{"phy_settings", &dp_phy_settings_debugfs_fop},
10601060
{"test_pattern", &dp_phy_test_pattern_fops},
1061-
{"output_bpc", &output_bpc_fops},
10621061
{"vrr_range", &vrr_range_fops},
10631062
#ifdef CONFIG_DRM_AMD_DC_HDCP
10641063
{"hdcp_sink_capability", &hdcp_sink_capability_fops},
@@ -1142,6 +1141,9 @@ void connector_debugfs_init(struct amdgpu_dm_connector *connector)
11421141
debugfs_create_file_unsafe("force_yuv420_output", 0644, dir, connector,
11431142
&force_yuv420_output_fops);
11441143

1144+
debugfs_create_file("output_bpc", 0644, dir, connector,
1145+
&output_bpc_fops);
1146+
11451147
connector->debugfs_dpcd_address = 0;
11461148
connector->debugfs_dpcd_size = 0;
11471149

0 commit comments

Comments
 (0)