[PATCH v2 1/7] drm: Introduce an atomic_commit_setup function

2020-12-07 Thread Maxime Ripard
Private objects storing a state shared across all CRTCs need to be carefully handled to avoid a use-after-free issue. The proper way to do this to track all the commits using that shared state and wait for the previous commits to be done before going on with the current one to avoid the reordering

Re: [PATCH v2 1/7] drm: Introduce an atomic_commit_setup function

2020-12-04 Thread Daniel Vetter
On Fri, Dec 4, 2020 at 4:11 PM Maxime Ripard wrote: > > Private objects storing a state shared across all CRTCs need to be > carefully handled to avoid a use-after-free issue. > > The proper way to do this to track all the commits using that shared > state and wait for the previous commits to be d