1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml/calcs
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
..
bw_fixed.c drm/amd/display: fix minor codestyle problems 2022-08-16 18:17:31 -04:00
calcs_logger.h drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
custom_float.c drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
dce_calcs.c drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dcn_calc_auto.c drm/amd/display: Optimizations for DML math 2022-09-13 14:32:59 -04:00
dcn_calc_auto.h drm/amd/display: move calcs folder into DML 2022-01-18 17:43:36 -05:00
dcn_calc_math.c drm/amd/display: Optimizations for DML math 2022-09-13 14:32:59 -04:00
dcn_calcs.c drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00