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

2024-11-19 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-19 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,

Re: [PATCH 09/10] drm/sti: hdmi: use eld_mutex to protect access to connector->eld

2024-12-03 Thread Raphaël Gallais-Pou
Le 01/12/2024 à 00:55, Dmitry Baryshkov a écrit : Reading access to connector->eld can happen at the same time the drm_edid_to_eld() updates the data. Take the newly added eld_mutex in order to protect connector->eld from concurrent access. Signed-off-by: Dmitry Baryshkov Hi Dmitry, Acked