drm/amd/display: Update drm_dsc to reflect native 4.2.0 DSC spec
authorDavid Francis <David.Francis@amd.com>
Tue, 4 Jun 2019 20:05:14 +0000 (16:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:08 +0000 (14:18 -0500)
commit64af142a8caf8887471d8d79079806875792b5dd
tree2dfe234ed49ba5f959917c6f44735bfc56a434f9
parent63b9caff9874202ec7f6aa53abb6a4be0a197dc1
drm/amd/display: Update drm_dsc to reflect native 4.2.0 DSC spec

[Why]
Some parts of the DSC spec relating to 4.2.0 were not reflected in
drm_dsc_compute_rc_parameters, causing unexpected config failures

[How]
Add nsl_bpg_offset and rbs_min computation

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c