[PATCH v5 drm-dp 2/5] drm/hisilicon/hibmc: add dp link moduel in hibmc
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Fri Nov 22 02:12:43 UTC 2024
On Mon, Nov 18, 2024 at 10:28:02PM +0800, Yongbang Shi wrote:
> From: baihan li <libaihan at huawei.com>
>
> Add link training process functions in this moduel.
>
> Signed-off-by: Baihan Li <libaihan at huawei.com>
> Signed-off-by: Yongbang Shi <shiyongbang at huawei.com>
> ---
> Changelog:
> v3 -> v4:
> - optimizing hibmc_dp_link_get_adjust_train() to delete for loop, suggested by Dmitry Baryshkov.
> - changing ELNRNG to EIO error code, suggested by Dmitry Baryshkov.
> - deleting meaningless macro, suggested by Dmitry Baryshkov.
> - fixing build errors reported by kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202411041559.WIfxRN6n-lkp@intel.com/
> v2 -> v3:
> - using switchcase in dp_link_reduce_lane, suggested by Dmitry Baryshkov.
> - deleting dp_link_pattern2dpcd function and using macros directly, suggested by Dmitry Baryshkov.
> - deleting EFAULT error codes, suggested by Dmitry Baryshkov.
> v1 -> v2:
> - using drm_dp_* functions implement dp link training process, suggested by Jani Nikula.
> - fix build errors reported by kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202410031735.8iRZZR6T-lkp@intel.com/
> v1:https://lore.kernel.org/all/20240930100610.782363-1-shiyongbang@huawei.com/
> ---
> drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +-
> drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h | 24 ++
> drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c | 339 +++++++++++++++++++
> drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h | 8 +
> 4 files changed, 372 insertions(+), 1 deletion(-)
> create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list