Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 10:32:04AM -0500, Kazlauskas, Nicholas wrote: > On 2021-11-08 10:07 a.m., Daniel Vetter wrote: > > On Fri, Nov 05, 2021 at 04:47:29PM -0400, Kazlauskas, Nicholas wrote: > > > Hi Daniel, > > > > > > Just got bitten by this warning when trying to do some refactoring in > > >

Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-08 Thread Kazlauskas, Nicholas
On 2021-11-08 10:07 a.m., Daniel Vetter wrote: On Fri, Nov 05, 2021 at 04:47:29PM -0400, Kazlauskas, Nicholas wrote: Hi Daniel, Just got bitten by this warning when trying to do some refactoring in amdgpu for trying to get rid of the DRM private object we use for our DC state. From a userspac

Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-08 Thread Daniel Vetter
On Fri, Nov 05, 2021 at 04:47:29PM -0400, Kazlauskas, Nicholas wrote: > Hi Daniel, > > Just got bitten by this warning when trying to do some refactoring in amdgpu > for trying to get rid of the DRM private object we use for our DC state. > > From a userspace perspective I understand that we want

Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-05 Thread Kazlauskas, Nicholas
Hi Daniel, Just got bitten by this warning when trying to do some refactoring in amdgpu for trying to get rid of the DRM private object we use for our DC state. From a userspace perspective I understand that we want to avoid judder, -EBUSY and other issues affecting the compositor from kerne

[PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2020-09-25 Thread Daniel Vetter
When doing an atomic modeset with ALLOW_MODESET drivers are allowed to pull in arbitrary other resources, including CRTCs (e.g. when reconfiguring global resources). But in nonblocking mode userspace has then no idea this happened, which can lead to spurious EBUSY calls, both: - when that other CR

[PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2020-09-23 Thread Daniel Vetter
When doing an atomic modeset with ALLOW_MODESET drivers are allowed to pull in arbitrary other resources, including CRTCs (e.g. when reconfiguring global resources). But in nonblocking mode userspace has then no idea this happened, which can lead to spurious EBUSY calls, both: - when that other CR