Commit 63bb1064 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: add missing code change init pix_per_cycle

[why]
missing change when port to these two dcn version.
Reviewed-by: default avatarChris Park <Chris.Park@amd.com>
Reviewed-by: default avatarLeo Ma <hanghong.ma@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a36f7254
...@@ -294,6 +294,7 @@ static void enc32_stream_encoder_dp_unblank( ...@@ -294,6 +294,7 @@ static void enc32_stream_encoder_dp_unblank(
|| is_dp_dig_pixel_rate_div_policy(dc, &param->timing)) { || is_dp_dig_pixel_rate_div_policy(dc, &param->timing)) {
/*this logic should be the same in get_pixel_clock_parameters() */ /*this logic should be the same in get_pixel_clock_parameters() */
n_multiply = 1; n_multiply = 1;
pix_per_cycle = 1;
} }
/* M / N = Fstream / Flink /* M / N = Fstream / Flink
* m_vid / n_vid = pixel rate / link rate * m_vid / n_vid = pixel rate / link rate
......
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