Re: [PATCH 3/5] drm/sti: hda: pass const struct drm_display_mode* to hda_get_mode_idx()

2024-11-21 Thread Raphaël Gallais-Pou
Make hda_get_mode_idx() accept const struct drm_display_mode pointer instead of just raw struct drm_display_mode. This is a preparation to converting the mode_valid() callback of drm_connector to accept const struct drm_display_mode argument. Signed-off-by: Dmitry Baryshkov --- Hi Dmitry,

Re: [PATCH 5/5] drm/connector: make mode_valid accept const struct drm_display_mode

2024-11-21 Thread Raphaël Gallais-Pou
Le 15/11/2024 à 22:09, Dmitry Baryshkov a écrit : The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge accept const struct drm_display_mode argument. Change the mode_valid callback of drm_connector to also accept const argument. Signed-off-by: Dmitry Baryshkov --- Hi Dmitry,