drm/amd/display: block odd h_total timings from halving pixel rate
authorMartin Leung <Martin.Leung@amd.com>
Fri, 23 Sep 2022 21:55:14 +0000 (17:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:01:23 +0000 (12:01 -0400)
commit2d550a159c55ac836a554fd605545b0feb5f7266
treedfd0a06356e00f6b84e3a2e3b891cb8e3706730c
parent51619c671316e96d7adaf2b6ea94ce245b81b6dd
drm/amd/display: block odd h_total timings from halving pixel rate

why:
when dynamic odm was turned on, there is also logic to halve the pixelclk
this still turned on when we avoided odm in the case of odd h_total timings

how:
block the pixel clk mechanism also in the case of odd h_total timings

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Martin Leung <Martin.Leung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c