1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dce100
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
..
dce100_hw_sequencer.c drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce100_hw_sequencer.h drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce100_resource.c drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dce100_resource.h drm/amd/display: Engine-specific encoder allocation 2019-05-24 12:21:00 -05:00
Makefile drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning 2021-01-14 13:20:20 -05:00