Re: [PATCH] drm: Always prepare null framebuffer in transitional helper

2017-02-26 Thread Daniel Vetter
On Thu, Feb 16, 2017 at 02:44:42PM -0200, Gabriel Krisman Bertazi wrote: > Despite the documentation claim that cleanup_fb will match prior calls > to prepare_fb, in case of NULL framebuffers in the transitional helpers, > the code will skip the call to prepare_fb but not the corresponding > cleanu

Re: [PATCH] drm: Always prepare null framebuffer in transitional helper

2017-02-26 Thread Daniel Vetter
On Sun, Feb 26, 2017 at 09:57:16PM +0100, Daniel Vetter wrote: > On Thu, Feb 16, 2017 at 02:44:42PM -0200, Gabriel Krisman Bertazi wrote: > > Despite the documentation claim that cleanup_fb will match prior calls > > to prepare_fb, in case of NULL framebuffers in the transitional helpers, > > the c

[PATCH] drm: Always prepare null framebuffer in transitional helper

2017-02-16 Thread Gabriel Krisman Bertazi
Despite the documentation claim that cleanup_fb will match prior calls to prepare_fb, in case of NULL framebuffers in the transitional helpers, the code will skip the call to prepare_fb but not the corresponding cleanup_fb call. This asymmetry in semantics is unnecessarily surprising for developer