1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dce112
Wenjing Liu 53f3288079 drm/amd/display: implement pipe type definition and adding accessors
[why]
There is a lack of encapsulation of pipe connection representation in pipe context.
This has caused many challenging bugs and coding errors with repeated
logic to identify the same pipe type.

[how]
Formally define pipe types and provide getters to identify a pipe type and
find a pipe based on specific requirements. Update existing logic in non dcn
specific files and dcn32 and future versions to use the new accessors.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@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>
2023-08-15 18:08:28 -04:00
..
dce112_compressor.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dce112_compressor.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce112_hw_sequencer.c drm/amd/display: Clean up errors in dce112_hw_sequencer.c 2023-08-09 09:42:57 -04:00
dce112_hw_sequencer.h drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce112_resource.c drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dce112_resource.h drm/amd/display: Add fast_validate parameter 2019-04-15 00:22:11 -05:00
Makefile drm/amd/display/dc/dce112/Makefile: Ignore -Woverride-init warning 2021-01-13 23:53:26 -05:00