From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Longerbeam Subject: Re: [PATCH 0/2] staging: vboxvideo: Add page-flip support Date: Thu, 30 Aug 2018 14:48:45 -0700 Message-ID: <712ba39c-1abd-93fd-baf3-607dd64d5827@gmail.com> References: <1532107051-31102-1-git-send-email-steve_longerbeam@mentor.com> <20180806083418.GI3008@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Daniel Vetter , Greg Kroah-Hartman , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , Hans de Goede , Roger He Cc: devel@driverdev.osuosl.org, Steve Longerbeam , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi all, On 08/07/2018 02:57 PM, Steve Longerbeam wrote: > > > On 08/06/2018 01:34 AM, Daniel Vetter wrote: >> On Fri, Jul 20, 2018 at 10:17:29AM -0700, Steve Longerbeam wrote: >>> Adds crtc page-flip support by passing the new requested framebuffer >>> to vbox_crtc_do_set_base(). >>> >>> There is no attempt to support vblank interrupts, so this page-flip >>> implementation does not try to sync the page-flip to vertical blanking, >>> so expect tearing effects. Is it possible to access the host vblank >>> intervals in VBOX? >> I think it'd be great to move vboxvideo over to atomic instead, which is >> required for destaging anyway, and would give you page flip support for >> free. > > Hi Daniel, yes I agree vboxvideo needs to move to the DRM atomic > framework. > Irrespective of moving vboxvideo to atomic framework, I still need to get an answer to the question, is it possible to access the host vblank intervals in order to sync page-flip to vblank, to prevent tearing. Is this possible somehow, perhaps by calling into the VBOX hypervisor? Thanks, Steve