mirror-linux/drivers/gpu/drm/amd/display/dc/dcn303
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: move FPU associated DCN303 code to DML folder 2022-03-15 14:25:15 -04:00
dcn303_dccg.h drm/amd/display: Add reg defs for DCN303 2021-12-30 08:54:44 -05:00
dcn303_hwseq.c drm/amd/display: add dummy PG callback for beige goby 2021-06-11 16:04:04 -04:00
dcn303_hwseq.h drm/amd/display: add dummy PG callback for beige goby 2021-06-11 16:04:04 -04:00
dcn303_init.c drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn303_init.h
dcn303_resource.c drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn303_resource.h drm/amd/display: move FPU associated DCN303 code to DML folder 2022-03-15 14:25:15 -04:00