Re: [PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-19 Thread Daniel Vetter
On Tue, Jul 16, 2019 at 11:07:37PM -0300, Rodrigo Siqueira wrote: > On 07/16, Daniel Vetter wrote: > > On Thu, Jul 11, 2019 at 11:57:18PM -0300, Rodrigo Siqueira wrote: > > > On 07/10, Daniel Vetter wrote: > > > > On Tue, Jul 09, 2019 at 10:55:14PM -0300, Rodrigo Siqueira wrote: > > > > > Currently

Re: [PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-16 Thread Rodrigo Siqueira
On 07/16, Daniel Vetter wrote: > On Thu, Jul 11, 2019 at 11:57:18PM -0300, Rodrigo Siqueira wrote: > > On 07/10, Daniel Vetter wrote: > > > On Tue, Jul 09, 2019 at 10:55:14PM -0300, Rodrigo Siqueira wrote: > > > > Currently, vkms only work with enabled VBlank. This patch adds another > > > > operat

Re: [PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-16 Thread Daniel Vetter
On Thu, Jul 11, 2019 at 11:57:18PM -0300, Rodrigo Siqueira wrote: > On 07/10, Daniel Vetter wrote: > > On Tue, Jul 09, 2019 at 10:55:14PM -0300, Rodrigo Siqueira wrote: > > > Currently, vkms only work with enabled VBlank. This patch adds another > > > operation model that allows vkms to work withou

Re: [PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-11 Thread Rodrigo Siqueira
On 07/10, Daniel Vetter wrote: > On Tue, Jul 09, 2019 at 10:55:14PM -0300, Rodrigo Siqueira wrote: > > Currently, vkms only work with enabled VBlank. This patch adds another > > operation model that allows vkms to work without VBlank support. In this > > scenario, vblank signaling is faked by calli

Re: [PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-10 Thread Daniel Vetter
On Tue, Jul 09, 2019 at 10:55:14PM -0300, Rodrigo Siqueira wrote: > Currently, vkms only work with enabled VBlank. This patch adds another > operation model that allows vkms to work without VBlank support. In this > scenario, vblank signaling is faked by calling drm_send_vblank_event() > in vkms_cr

[PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-09 Thread Rodrigo Siqueira
Currently, vkms only work with enabled VBlank. This patch adds another operation model that allows vkms to work without VBlank support. In this scenario, vblank signaling is faked by calling drm_send_vblank_event() in vkms_crtc_atomic_flush(); this approach works due to the drm_vblank_get() == 0 ch