]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow 4 split on 10K 420 modes
authorChris Park <Chris.Park@amd.com>
Wed, 10 Jun 2020 03:51:36 +0000 (23:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:26 +0000 (01:59 -0400)
commitf6ec5e94235a3a4818f4db7691a7a2315bc3da3b
tree3f32cf836415c06c9b16f94d8e8a23e9a3fb3999
parentf987405c92be15994e318a08d5b5c77164b4b793
drm/amd/display: Allow 4 split on 10K 420 modes

[Why]
10K YCbCr420 does not need ODM 4:1, but it requires MPC 4 split
indicated on the flags.

[How]
Make pixel encoding and resolution size specific workaround to enable
ODM combine on YCbCr420 high resolution modes.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c