File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
drivers/gpu/drm/amd/display/amdgpu_dm Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6122,7 +6122,9 @@ create_stream_for_sink(struct amdgpu_dm_connector *aconnector,
6122
6122
if (stream -> signal == SIGNAL_TYPE_HDMI_TYPE_A )
6123
6123
mod_build_hf_vsif_infopacket (stream , & stream -> vsp_infopacket );
6124
6124
6125
- if (stream -> link -> psr_settings .psr_feature_enabled || stream -> link -> replay_settings .replay_feature_enabled ) {
6125
+ if (stream -> signal == SIGNAL_TYPE_DISPLAY_PORT ||
6126
+ stream -> signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
6127
+ stream -> signal == SIGNAL_TYPE_EDP ) {
6126
6128
//
6127
6129
// should decide stream support vsc sdp colorimetry capability
6128
6130
// before building vsc info packet
@@ -6132,7 +6134,8 @@ create_stream_for_sink(struct amdgpu_dm_connector *aconnector,
6132
6134
stream -> use_vsc_sdp_for_colorimetry =
6133
6135
aconnector -> dc_sink -> is_vsc_sdp_colorimetry_supported ;
6134
6136
} else {
6135
- if (stream -> link -> dpcd_caps .dprx_feature .bits .VSC_SDP_COLORIMETRY_SUPPORTED )
6137
+ if (stream -> link -> dpcd_caps .dpcd_rev .raw >= 0x14 &&
6138
+ stream -> link -> dpcd_caps .dprx_feature .bits .VSC_SDP_COLORIMETRY_SUPPORTED )
6136
6139
stream -> use_vsc_sdp_for_colorimetry = true;
6137
6140
}
6138
6141
if (stream -> out_transfer_func -> tf == TRANSFER_FUNCTION_GAMMA22 )
You can’t perform that action at this time.
0 commit comments