drm/amd/display: Pass SDP spliting in parameters
pass SDP splitting when setting stream attributes for future use Signed-off-by: Nikola Cornij <nikola.cornij@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3a66541c63
commit
bb1cb98e21
|
@ -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,
|
||||
&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))
|
||||
pipe_ctx->stream_res.stream_enc->funcs->hdmi_set_stream_attribute(
|
||||
|
|
|
@ -272,7 +272,8 @@ static void dce110_update_hdmi_info_packet(
|
|||
static void dce110_stream_encoder_dp_set_stream_attribute(
|
||||
struct stream_encoder *enc,
|
||||
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)
|
||||
uint32_t h_active_start;
|
||||
|
|
|
@ -245,7 +245,8 @@ static void enc1_update_hdmi_info_packet(
|
|||
void enc1_stream_encoder_dp_set_stream_attribute(
|
||||
struct stream_encoder *enc,
|
||||
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 v_active_start;
|
||||
|
|
|
@ -462,7 +462,8 @@ void enc1_update_generic_info_packet(
|
|||
void enc1_stream_encoder_dp_set_stream_attribute(
|
||||
struct stream_encoder *enc,
|
||||
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(
|
||||
struct stream_encoder *enc,
|
||||
|
|
|
@ -90,7 +90,8 @@ struct stream_encoder_funcs {
|
|||
void (*dp_set_stream_attribute)(
|
||||
struct stream_encoder *enc,
|
||||
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)(
|
||||
struct stream_encoder *enc,
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
static void virtual_stream_encoder_dp_set_stream_attribute(
|
||||
struct stream_encoder *enc,
|
||||
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(
|
||||
struct stream_encoder *enc,
|
||||
|
|
Loading…
Reference in New Issue