diff options
| author | Charlene Liu <[email protected]> | 2023-03-10 14:32:26 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-22 00:59:57 -0400 |
| commit | 63bb1064a71d9372a643dbf1d00b736f203c867f (patch) | |
| tree | 4cc2bbb3229aabb7bf8db197a864ed70307811c1 /drivers/gpu | |
| parent | a36f72547e0eb623912957aeb68465e3c9f7effe (diff) | |
drm/amd/display: add missing code change init pix_per_cycle
[why]
missing change when port to these two dcn version.
Reviewed-by: Chris Park <[email protected]>
Reviewed-by: Leo Ma <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Charlene Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c index 89de64f18040..d05e7655f603 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c @@ -294,6 +294,7 @@ static void enc32_stream_encoder_dp_unblank( || is_dp_dig_pixel_rate_div_policy(dc, ¶m->timing)) { /*this logic should be the same in get_pixel_clock_parameters() */ n_multiply = 1; + pix_per_cycle = 1; } /* M / N = Fstream / Flink * m_vid / n_vid = pixel rate / link rate |