mirror of
https://github.com/torvalds/linux.git
synced 2026-10-26 20:46:02 +01:00
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. Suggested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Link: https://patch.msgid.link/20260828065153.590802-3-damon.ding@rock-chips.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> |
||
|---|---|---|
| .. | ||
| drm_dp_aux_bus.h | ||
| drm_dp_dual_mode_helper.h | ||
| drm_dp_helper.h | ||
| drm_dp_mst_helper.h | ||
| drm_dp_tunnel.h | ||
| drm_dp.h | ||
| drm_dsc_helper.h | ||
| drm_dsc.h | ||
| drm_hdcp_helper.h | ||
| drm_hdcp.h | ||
| drm_hdmi_audio_helper.h | ||
| drm_hdmi_cec_helper.h | ||
| drm_hdmi_helper.h | ||
| drm_hdmi_state_helper.h | ||
| drm_scdc_helper.h | ||
| drm_scdc.h | ||