]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Allow higher DSC slice support for small timings on dcn401
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 29 Apr 2024 16:11:05 +0000 (12:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:47:28 +0000 (15:47 -0400)
commit6ac05ae5fff84866a56358740681869c3bc62af3
treec16de58daa8e19ddc688296290a8bd6e266c19c2
parent1dd50e634cb46880f3364ce629b09a37a5b3f888
drm/amd/display: Allow higher DSC slice support for small timings on dcn401

[WHY]
DML2.1 has added the support to determine ODM combine based on DSC slice
count limitation. This support would allow us to support DSC slice higher
than 4 on small timings. The change will allow higher DSC slice support
independent from pixel clock in use.

[HOW]
Add a DCN401 get_enc_caps function to allow the support for DSC slice count
higher than 4.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/dcn401/dcn401_dsc.c