]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/display/dp: Export fn to calculate link symbol cycles
authorArun R Murthy <arun.r.murthy@intel.com>
Thu, 24 Apr 2025 15:15:14 +0000 (20:45 +0530)
committerImre Deak <imre.deak@intel.com>
Wed, 30 Apr 2025 19:07:38 +0000 (22:07 +0300)
commit7d585426a6538a717f55a1bb0b614d465bd03805
tree5c0ebc90f8a04745738f64ccea71176fa376b9ff
parent090a47b4cd2800164c4e6f3b333e8534736960c0
drm/display/dp: Export fn to calculate link symbol cycles

Unify the function to calculate the link symbol cycles for both dsc and
non-dsc case and export the function so that it can be used in the
respective platform display drivers for other calculations.

v2: unify the fn for both dsc and non-dsc case (Imre)
v3: rename drm_dp_link_symbol_cycles to drm_dp_link_data_symbol_cycles
    retain slice_eoc_cycles as is (Imre)
v4: Expose only drm_dp_link_symbol_cycles() (Imre)
v6: Add slice pixels which was removed unknowingly (Vinod)

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250424-hblank-v7-1-8b002f1506cc@intel.com
drivers/gpu/drm/display/drm_dp_helper.c
include/drm/display/drm_dp_helper.h