Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: temporarly move non link_hwss code to dc_link_dp

[why]
Clean up dc_link_hwss file in the preparation of breaking it down to
file for each encoder type. We temporarly move the original dp link
functions in link_hwss back to dc_link_dp. We will break dc_link_dp down
after link_hwss is in good shape.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Wenjing Liu and committed by
Alex Deucher
dfabe597 8788e066

+681 -686
+3 -1
drivers/gpu/drm/amd/display/dc/dc_link.h
··· 465 465 void dc_get_cur_link_res_map(const struct dc *dc, uint32_t *map); 466 466 /* restore link resource allocation state from a snapshot */ 467 467 void dc_restore_link_res_map(const struct dc *dc, uint32_t *map); 468 - 469 468 void dc_link_dp_clear_rx_status(struct dc_link *link); 469 + struct gpio *get_hpd_gpio(struct dc_bios *dcb, 470 + struct graphics_object_id link_id, 471 + struct gpio_service *gpio_service); 470 472 #endif /* DC_LINK_H_ */
+1
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
··· 55 55 #include "inc/link_dpcd.h" 56 56 #include "dpcd_defs.h" 57 57 #include "inc/link_enc_cfg.h" 58 + #include "link_hwss.h" 58 59 59 60 #define DC_LOGGER_INIT(logger) 60 61