From: Archit Taneja <archit@ti.com>
To: Rob Clark <robdclark@gmail.com>
Cc: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Subject: Re: Synchronization between a crtc mode_set and page_flip?
Date: Thu, 3 Apr 2014 14:28:32 +0530 [thread overview]
Message-ID: <533D22B8.7040908@ti.com> (raw)
In-Reply-To: <CAF6AEGuCo1_B6vMADou1FcF8jPdySCc5dxpAp=_UBpj9Hg65mA@mail.gmail.com>
On Wednesday 02 April 2014 06:41 PM, Rob Clark wrote:
> On Wed, Apr 2, 2014 at 5:52 AM, Archit Taneja <archit@ti.com> wrote:
>> Hi,
>>
>> I was trying to figure out how we are supposed to manage synchronization
>> between a mode_set and a page_flip called on a crtc.
>>
>> Say, if a mode_set is immediately followed by a page_flip. The driver can't
>> process the page_flip straight away since the hardware is still completing
>> the mode_set.
>
> I guess setcrtc is expected to be synchronous(ish).. so a lot of
> userspace won't expect the first pageflip to fail with -EBUSY.
Okay, thanks. I guess having setcrtc synchronous isn't that bad.
Archit
next prev parent reply other threads:[~2014-04-03 8:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 9:52 Synchronization between a crtc mode_set and page_flip? Archit Taneja
2014-04-02 13:11 ` Rob Clark
2014-04-03 8:58 ` Archit Taneja [this message]
2014-04-03 21:24 ` Daniel Vetter
2014-04-04 7:21 ` Archit Taneja
2014-04-04 11:54 ` Rob Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=533D22B8.7040908@ti.com \
--to=archit@ti.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=robdclark@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox