linux-stable/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
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
dce112_resource.c drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dce112_resource.h
Makefile drm/amd/display/dc/dce112/Makefile: Ignore -Woverride-init warning 2021-01-13 23:53:26 -05:00