[PATCH v5 2/4] drm/dp: Add helper to validate DP lane counts

Luca Ceresoli luca.ceresoli at bootlin.com
Fri Jun 26 09:29:25 PDT 2026


On Thu, 04 Jun 2026 16:52:18 +0800, Damon Ding <damon.ding at rock-chips.com> wrote:
> Add a generic helper function drm_dp_lane_count_is_valid() to check
> if a DisplayPort lane count is valid. According to the DP specification,
> only 1, 2, or 4 lanes are supported.
> 
> This helper avoids duplicating DP lane count validation logic across
> individual DisplayPort drivers.
> 
> [...]

Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com




More information about the linux-arm-kernel mailing list