linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net,
	Andrey Volkov <andreyvolkov@users.sourceforge.net>
Subject: Re: hwd accel framebuffer: Newbi question (sleep in sync)
Date: Fri, 22 Jul 2005 11:58:19 +0800	[thread overview]
Message-ID: <200507221158.20147.adaplas@gmail.com> (raw)
In-Reply-To: <42D22809.8070800@users.sourceforge.net>

On Monday 11 July 2005 16:04, Andrey Volkov wrote:
> Hi all,
>
> Anyone could explain me, could I or couldn't
> use process sleep (i.e. wait_for..., sleep_on...)
> in fb_info->fb_sync and/or in any hwd accelerated routines (i.e. blit,
> cursor and rectfill)?

No, in general, it's not safe to sleep in some of the fb_xxx routines,
especially when fbdev is used by fbcon.

> Code, which now in kernel, look terrible for me (counter based pooling).
> Must it be so?

Yes, because of the above reason. A few drivers though test a "can_sleep"
flag and alter behavior between looping and sleeping.

Tony



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

      reply	other threads:[~2005-07-22  5:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11  8:04 hwd accel framebuffer: Newbi question (sleep in sync) Andrey Volkov
2005-07-22  3:58 ` Antonino A. Daplas [this message]

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=200507221158.20147.adaplas@gmail.com \
    --to=adaplas@gmail.com \
    --cc=andreyvolkov@users.sourceforge.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).