From: "Daniel Glöckner" <daniel-gl@gmx.net>
To: Jean Delvare <jdelvare@suse.de>
Cc: video4linux-list@redhat.com, v4l-dvb-maintainer@linuxtv.org
Subject: Re: bttv driver questions
Date: Tue, 2 Sep 2008 00:54:50 +0200 [thread overview]
Message-ID: <20080901225450.GA1424@daniel.bse> (raw)
In-Reply-To: <200809012126.06532.jdelvare@suse.de>
On Mon, Sep 01, 2008 at 09:26:06PM +0200, Jean Delvare wrote:
> This is because each master never needs its full grant, the FIFO is
> empty before and they return the bus control early. If each master
> was to keep control of the bus for as long as control was originally
> granted, things would be much different. Would it be difficult to
> modify your simulation tool to allow this case?
It is impossible to extend a transaction by an arbitrary number of
cycles without violating the spec. Every DWord must be ready in 8
cycles. When the data rate is below 16.7 MB/s, the next DWord will
not be ready in time.
> I would also like to be able to add an arbitrary number of setup
> cycles at the beginning of every transaction. Your assumption that
> there are no such cycles wasted is a bit optimistic, and I'd like
> to get more realistic figures.
It's not like the bridge has to fetch a cachline from memory.
It just needs to decode the address. Either there are buffers waiting
or it can't accept data (in which case it will probably signal RETRY).
Address decoding is specified as medium DEVSEL timing, which equals
1 wait cycle worst case.
> Which raises a question... do you know if the XIO2000 can merge
> writes?
I don't know. TI support might be able to answer this.
> And do you know how much of a buffer it has?
The XIO2000A FAQ says a PCIe transaction payload can be 512 bytes
maximum. It furthermore says that Intel chipsets accept only transactions
up to 128 bytes. The number of buffers would be interesting, too.
And if the second VC has the same number of buffers...
> The problem I have with low trigger is that it means many short
> transactions, which in turn means small effective bandwidth, and I
> know that in my case we can't have too much bandwidth.
When the bus is loaded, transaction lengths will grow automatically
above the trigger point up to the latency counter value.
The simulation for 5 masters required a minimum latency of 20 even
though the trigger was 4.
> I think your code assumes YUY2 as a capture format, i.e. 2 bytes
> per pixel? I already know that 8 masters can't do that concurrently
> over the same PCI bus, no matter how we tweak the PCI settings. I'll
> have to change the code to assume Y8 as a capture format.
8 masters doing Y8 is less traffic with more FIFOs than 5 masters doing
YUY2. It probably works out of the box.
If grayscale is not what your customer wants, there is a 8 bit color
mode V4L2_PIX_FMT_HI240.
Daniel
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-09-01 22:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200808251445.22005.jdelvare@suse.de>
2008-08-26 0:40 ` [v4l-dvb-maintainer] bttv driver questions Andy Walls
2008-08-26 23:29 ` Daniel Glöckner
2008-08-27 2:20 ` Trent Piepho
2008-08-27 2:59 ` Robert William Fuller
2008-08-28 19:43 ` Trent Piepho
2008-08-27 3:45 ` Andy Walls
2008-08-28 19:48 ` Trent Piepho
[not found] ` <200808281611.38241.jdelvare@suse.de>
2008-08-28 20:20 ` Daniel Glöckner
2008-08-28 21:42 ` hermann pitton
[not found] ` <200808301201.47561.jdelvare@suse.de>
2008-08-30 15:12 ` Daniel Glöckner
2008-08-31 16:37 ` Andy Walls
[not found] ` <200809011144.54233.jdelvare@suse.de>
2008-09-01 12:35 ` Daniel Glöckner
[not found] ` <200809012126.06532.jdelvare@suse.de>
2008-09-01 22:54 ` Daniel Glöckner [this message]
[not found] ` <200809021109.31007.jdelvare@suse.de>
[not found] ` <200809021305.12318.jdelvare@suse.de>
2008-09-03 22:29 ` Daniel Glöckner
[not found] ` <200809051436.18549.jdelvare@suse.de>
2008-09-05 15:51 ` Daniel Glöckner
2008-09-05 19:16 ` [v4l-dvb-maintainer] " Trent Piepho
[not found] ` <200808281658.28151.jdelvare@suse.de>
2008-08-29 12:09 ` Andy Walls
2008-08-29 22:23 ` Trent Piepho
2008-08-30 0:10 ` Daniel Glöckner
[not found] ` <200808300954.19361.jdelvare@suse.de>
2008-08-30 16:44 ` Daniel Glöckner
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=20080901225450.GA1424@daniel.bse \
--to=daniel-gl@gmx.net \
--cc=jdelvare@suse.de \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=video4linux-list@redhat.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