]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/hisilicon/hibmc: Add dp serdes cfg in dp process
authorBaihan Li <libaihan@huawei.com>
Mon, 31 Mar 2025 07:42:06 +0000 (15:42 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 11 Apr 2025 11:40:00 +0000 (14:40 +0300)
commit5f80fb4d6abd1f7f4007e4bf8dd75a8c71d2f724
tree3c3c90887606786312eef264d1065cf9c933a810
parent9e736cd444f49efa2334e405f7a59773ea02155b
drm/hisilicon/hibmc: Add dp serdes cfg in dp process

Add dp serdes cfg in link training process, and related adapting
and modificating. Change some init values about training, because we want
completely to negotiation process, so we start with the maximum rate and
the electrical characteristic level is 0. Because serdes default cfgs is
changed and used in hibmc_kms_init(), we changed the if-statement to check
whether the value is 0.

Signed-off-by: Baihan Li <libaihan@huawei.com>
Signed-off-by: Yongbang Shi <shiyongbang@huawei.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20250331074212.3370287-4-shiyongbang@huawei.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h
drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.c
drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c
drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c