Commit bb1cb98e authored by Nikola Cornij's avatar Nikola Cornij Committed by Alex Deucher

drm/amd/display: Pass SDP spliting in parameters

pass SDP splitting when setting stream attributes for future use
Signed-off-by: default avatarNikola Cornij <nikola.cornij@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3a66541c
...@@ -2576,7 +2576,8 @@ void core_link_enable_stream( ...@@ -2576,7 +2576,8 @@ void core_link_enable_stream(
pipe_ctx->stream_res.stream_enc->funcs->dp_set_stream_attribute( pipe_ctx->stream_res.stream_enc->funcs->dp_set_stream_attribute(
pipe_ctx->stream_res.stream_enc, pipe_ctx->stream_res.stream_enc,
&stream->timing, &stream->timing,
stream->output_color_space); stream->output_color_space,
stream->link->dpcd_caps.dprx_feature.bits.SST_SPLIT_SDP_CAP);
if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal)) if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal))
pipe_ctx->stream_res.stream_enc->funcs->hdmi_set_stream_attribute( pipe_ctx->stream_res.stream_enc->funcs->hdmi_set_stream_attribute(
......
...@@ -272,7 +272,8 @@ static void dce110_update_hdmi_info_packet( ...@@ -272,7 +272,8 @@ static void dce110_update_hdmi_info_packet(
static void dce110_stream_encoder_dp_set_stream_attribute( static void dce110_stream_encoder_dp_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing, struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space) enum dc_color_space output_color_space,
uint32_t enable_sdp_splitting)
{ {
#if defined(CONFIG_DRM_AMD_DC_DCN1_0) #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
uint32_t h_active_start; uint32_t h_active_start;
......
...@@ -245,7 +245,8 @@ static void enc1_update_hdmi_info_packet( ...@@ -245,7 +245,8 @@ static void enc1_update_hdmi_info_packet(
void enc1_stream_encoder_dp_set_stream_attribute( void enc1_stream_encoder_dp_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing, struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space) enum dc_color_space output_color_space,
uint32_t enable_sdp_splitting)
{ {
uint32_t h_active_start; uint32_t h_active_start;
uint32_t v_active_start; uint32_t v_active_start;
......
...@@ -462,7 +462,8 @@ void enc1_update_generic_info_packet( ...@@ -462,7 +462,8 @@ void enc1_update_generic_info_packet(
void enc1_stream_encoder_dp_set_stream_attribute( void enc1_stream_encoder_dp_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing, struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space); enum dc_color_space output_color_space,
uint32_t enable_sdp_splitting);
void enc1_stream_encoder_hdmi_set_stream_attribute( void enc1_stream_encoder_hdmi_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
......
...@@ -90,7 +90,8 @@ struct stream_encoder_funcs { ...@@ -90,7 +90,8 @@ struct stream_encoder_funcs {
void (*dp_set_stream_attribute)( void (*dp_set_stream_attribute)(
struct stream_encoder *enc, struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing, struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space); enum dc_color_space output_color_space,
uint32_t enable_sdp_splitting);
void (*hdmi_set_stream_attribute)( void (*hdmi_set_stream_attribute)(
struct stream_encoder *enc, struct stream_encoder *enc,
......
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
static void virtual_stream_encoder_dp_set_stream_attribute( static void virtual_stream_encoder_dp_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing, struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space) {} enum dc_color_space output_color_space,
uint32_t enable_sdp_splitting) {}
static void virtual_stream_encoder_hdmi_set_stream_attribute( static void virtual_stream_encoder_hdmi_set_stream_attribute(
struct stream_encoder *enc, struct stream_encoder *enc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment