From: Antonino Daplas <adaplas@pol.net>
To: Matthew J Sottek <matthew.j.sottek@intel.com>
Cc: fbdev <linux-fbdev-devel@lists.sourceforge.net>
Subject: RE: Adding an fb_sync() operation to fb_ops
Date: 04 Jun 2002 07:53:06 +0800 [thread overview]
Message-ID: <1023148432.541.1.camel@daplas> (raw)
On Mon, 2002-06-03 at 23:49, Sottek, Matthew J wrote:
>
> So here is the obvious problem case.
>
> Application mmap's the framebuffer.
> Application Draws some pixels into the framebuffer.
> Application issues an ioctl that would lead to a blit, the command is put
> in a ring buffer but hasn't happened yet.
> The application draws some more pixels (via the mmap) in a region that
> intersects the previously blitted region.
> The hardware gets around to the blit command and overwrites the pixels you
> just put in the frambuffer.
>
>
And it does not have to happen outside the kernel. Within the kernel
too. For instance, a particular accelerator may only support fillrect
and copyarea, but not imageblit (neofb). It has no choice but to mix in
cfb_imageblit and the sync problem will arise unless the accelerator
forces a sync -- which neofb does by the way.
Tony
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
next reply other threads:[~2002-06-03 23:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 23:53 Antonino Daplas [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-03 15:49 Adding an fb_sync() operation to fb_ops Sottek, Matthew J
2002-05-30 21:25 Sottek, Matthew J
2002-05-31 20:02 ` James Simmons
2002-05-30 19:05 Antonino Daplas
2002-05-31 19:56 ` James Simmons
2002-05-31 20:14 ` Geert Uytterhoeven
2002-06-01 13:29 ` Antonino Daplas
2002-06-01 12:31 ` Antonino Daplas
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=1023148432.541.1.camel@daplas \
--to=adaplas@pol.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=matthew.j.sottek@intel.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;
as well as URLs for NNTP newsgroup(s).