Re: [PATCH 00/10] drm/connector: add eld_mutex to protect connector->eld

2024-12-02 Thread Maxime Ripard
On Mon, Dec 02, 2024 at 01:03:07PM +0200, Dmitry Baryshkov wrote: > On Mon, Dec 02, 2024 at 10:19:41AM +, Maxime Ripard wrote: > > On Sun, 1 Dec 2024 01:55:17 +0200, Dmitry Baryshkov wrote: > > > The connector->eld is accessed by the .get_eld() callback. This access > > > can collide with the d

Re: [PATCH 00/10] drm/connector: add eld_mutex to protect connector->eld

2024-12-02 Thread Dmitry Baryshkov
On Mon, Dec 02, 2024 at 10:19:41AM +, Maxime Ripard wrote: > On Sun, 1 Dec 2024 01:55:17 +0200, Dmitry Baryshkov wrote: > > The connector->eld is accessed by the .get_eld() callback. This access > > can collide with the drm_edid_to_eld() updating the data at the same > > time. Add drm_connector

Re: [PATCH 00/10] drm/connector: add eld_mutex to protect connector->eld

2024-12-02 Thread Maxime Ripard
On Sun, 1 Dec 2024 01:55:17 +0200, Dmitry Baryshkov wrote: > The connector->eld is accessed by the .get_eld() callback. This access > can collide with the drm_edid_to_eld() updating the data at the same > time. Add drm_connector.eld_mutex to protect the data from concurrenct > access. > > > [ ...

[PATCH 00/10] drm/connector: add eld_mutex to protect connector->eld

2024-11-30 Thread Dmitry Baryshkov
The connector->eld is accessed by the .get_eld() callback. This access can collide with the drm_edid_to_eld() updating the data at the same time. Add drm_connector.eld_mutex to protect the data from concurrenct access. The individual drivers were just compile tested. I propose to merge the drm_con