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 @@ -6318,7 +6318,9 @@ create_stream_for_sink(struct drm_connector *connector,
6318
6318
if (stream -> signal == SIGNAL_TYPE_HDMI_TYPE_A )
6319
6319
mod_build_hf_vsif_infopacket (stream , & stream -> vsp_infopacket );
6320
6320
6321
- if (stream -> link -> psr_settings .psr_feature_enabled || stream -> link -> replay_settings .replay_feature_enabled ) {
6321
+ if (stream -> signal == SIGNAL_TYPE_DISPLAY_PORT ||
6322
+ stream -> signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
6323
+ stream -> signal == SIGNAL_TYPE_EDP ) {
6322
6324
//
6323
6325
// should decide stream support vsc sdp colorimetry capability
6324
6326
// before building vsc info packet
@@ -6328,7 +6330,8 @@ create_stream_for_sink(struct drm_connector *connector,
6328
6330
stream -> use_vsc_sdp_for_colorimetry =
6329
6331
aconnector -> dc_sink -> is_vsc_sdp_colorimetry_supported ;
6330
6332
} else {
6331
- if (stream -> link -> dpcd_caps .dprx_feature .bits .VSC_SDP_COLORIMETRY_SUPPORTED )
6333
+ if (stream -> link -> dpcd_caps .dpcd_rev .raw >= 0x14 &&
6334
+ stream -> link -> dpcd_caps .dprx_feature .bits .VSC_SDP_COLORIMETRY_SUPPORTED )
6332
6335
stream -> use_vsc_sdp_for_colorimetry = true;
6333
6336
}
6334
6337
if (stream -> out_transfer_func -> tf == TRANSFER_FUNCTION_GAMMA22 )
You can’t perform that action at this time.
0 commit comments