Re: [v1] drm/msm: Fix race condition in msm driver with async layer updates

2020-10-17 Thread mkrishn
On 2020-10-14 20:55, Rob Clark wrote: On Wed, Oct 14, 2020 at 5:58 AM Krishna Manikandan wrote: When there are back to back commits with async cursor update, there is a case where second commit can program the DPU hw blocks while first didn't complete flushing config to HW. Synchronize the

[v1] drm/msm: Fix race condition in msm driver with async layer updates

2020-10-15 Thread Krishna Manikandan
When there are back to back commits with async cursor update, there is a case where second commit can program the DPU hw blocks while first didn't complete flushing config to HW. Synchronize the compositions such that second commit waits until first commit flushes the composition. This change

Re: [v1] drm/msm: Fix race condition in msm driver with async layer updates

2020-10-14 Thread Rob Clark
On Wed, Oct 14, 2020 at 5:58 AM Krishna Manikandan wrote: > > When there are back to back commits with async cursor update, > there is a case where second commit can program the DPU hw > blocks while first didn't complete flushing config to HW. > > Synchronize the compositions such that second