]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: implement support for DID2.0 dsc passthrough
authorJun Lei <jun.lei@amd.com>
Wed, 16 Dec 2020 17:56:38 +0000 (12:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:10:48 +0000 (12:10 -0500)
commitf99f2b201ce3a7a81282cdb0ec76690a80a8e97e
treebc2aee28a700940f5e5327da5c76704889c5f65b
parent861854e49ef5ddf2e02ab419b4ffcc1248a78003
drm/amd/display: implement support for DID2.0 dsc passthrough

[Why]
Some panels contain active converters (e.g. DP to MIPI) which only support
restricted DSC configurations.  DID2.0 adds support for such displays to
explicitly define per timing BPP restrictions on DSC.  Ignoring these
restrictions leads to blackscreen.

[How]
Add parsing in DID2.0 parser to get this bpp info.
Add support in DSC module to constraint target bpp based
on this info.

Signed-off-by: Jun Lei <jun.lei@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@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/dc_dsc.h
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c