mirror-linux/drivers/gpu/drm/amd/display/dc/dcn302
Wenjing Liu 98ce7d32e2 drm/amd/display: convert link.h functions to function pointer style
[Why & How]
All dc subcomponents should call another dc component via function pointers
stored in a component structure. This is part of dc coding convention since
the beginning. The reason behind this is to improve encapsulation and
polymorphism. The function contract is extracted into a single link service
structure defined in link.h header file and implemented only in link_factory.c instead
of spreading across multiple files in link component file structure.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@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-03-14 15:35:03 -04:00
..
Makefile drm/amd/display: Drop unnecessary FPU flags on dcn302 files 2022-07-25 17:15:56 -04:00
dcn302_dccg.h
dcn302_hwseq.c
dcn302_hwseq.h
dcn302_init.c drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn302_init.h
dcn302_resource.c drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn302_resource.h drm/amd/display: move FPU associated DCN302 code to DML folder (#2266) 2022-01-18 17:42:26 -05:00