* VINO
@ 1998-09-23 23:12 Thomas Bogendoerfer
1998-09-24 16:31 ` VINO Alex deVries
1998-09-24 23:59 ` VINO George Kyriazis
0 siblings, 2 replies; 8+ messages in thread
From: Thomas Bogendoerfer @ 1998-09-23 23:12 UTC (permalink / raw)
To: linux
Hi,
Is it possible to do VINO DMA directly to the newport ?
Thomas.
--
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
[Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: VINO
1998-09-23 23:12 VINO Thomas Bogendoerfer
@ 1998-09-24 16:31 ` Alex deVries
1998-09-24 23:59 ` VINO George Kyriazis
1 sibling, 0 replies; 8+ messages in thread
From: Alex deVries @ 1998-09-24 16:31 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux
On Thu, 24 Sep 1998, Thomas Bogendoerfer wrote:
> Is it possible to do VINO DMA directly to the newport ?
>
God knows I'm not an authority on this, but I believe the answer to this
is no; you need to do DMA from VINO to memory, then memory to XMAP9
through REX3.
Please tell me if I'm wrong.
- Alex
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VINO
@ 1998-09-24 23:59 ` George Kyriazis
0 siblings, 0 replies; 8+ messages in thread
From: George Kyriazis @ 1998-09-24 23:59 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux
> Is it possible to do VINO DMA directly to the newport ?
>
As far as I know, you have to do it through memory.
To elaborate: I believe you can program the DMA controller to copy
from VINO to the REX3 (read: from a fixed address to a fixed address),
but I doubt the data formats are compatible. Ie, you'll be dumping
garbage to the REX3 registers.
--george
--
-----------------------------------------------------------------------------
George Kyriazis | Silicon Graphics, Inc., 8U-590 | kyriazis@sgi.com
| 2011 N. Shoreline Blvd. | 650-933-2828
| Mt. View, CA 94043 |
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: VINO
@ 1998-09-24 23:59 ` George Kyriazis
0 siblings, 0 replies; 8+ messages in thread
From: George Kyriazis @ 1998-09-24 23:59 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux
> Is it possible to do VINO DMA directly to the newport ?
>
As far as I know, you have to do it through memory.
To elaborate: I believe you can program the DMA controller to copy
from VINO to the REX3 (read: from a fixed address to a fixed address),
but I doubt the data formats are compatible. Ie, you'll be dumping
garbage to the REX3 registers.
--george
--
-----------------------------------------------------------------------------
George Kyriazis | Silicon Graphics, Inc., 8U-590 | kyriazis@sgi.com
| 2011 N. Shoreline Blvd. | 650-933-2828
| Mt. View, CA 94043 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* VINO
@ 2004-06-08 12:54 Jorik Jonker
2004-06-08 22:06 ` VINO Ladislav Michl
0 siblings, 1 reply; 8+ messages in thread
From: Jorik Jonker @ 2004-06-08 12:54 UTC (permalink / raw)
To: Linux MIPS
Hi,
I have been playing around a bit with my Indycam, but it seems that some work
needs to be done to get a nice picture. I've read that it has something to do
with clipping and that the brightness control register is silently ignored. I
happen to have an IRIX installtion on my Indy as well, and I tried finding
out how to read the VINO registers from IRIX, but with no luck.
I suppose that there must be some kernel-space piece of code to read the GIO
(?) memory around adress 0x00080000, but I am not able to figure out how to
do this in IRIX. Perhaps someone (with al little bit more kernel-hacking
experience) could guide me a little bit on doing this?
Are there other people beside ladis who are attemping to enhance the VINO
driver in the linux kernel, and if so, what are your findings?
I would really like to contribute to VINO development, but it's quite opaque
matter to me, as the VINO spec is quite unclear and I am not certain what's
exactly going wrong in the VINO driver.
regards,
--
Jorik Jonker
http://boeventronie.net/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VINO
2004-06-08 12:54 VINO Jorik Jonker
@ 2004-06-08 22:06 ` Ladislav Michl
2004-06-09 12:20 ` VINO Jorik Jonker
0 siblings, 1 reply; 8+ messages in thread
From: Ladislav Michl @ 2004-06-08 22:06 UTC (permalink / raw)
To: Linux MIPS
On Tue, Jun 08, 2004 at 02:54:37PM +0200, Jorik Jonker wrote:
> Hi,
>
> I have been playing around a bit with my Indycam, but it seems that some work
> needs to be done to get a nice picture. I've read that it has something to do
> with clipping and that the brightness control register is silently ignored. I
> happen to have an IRIX installtion on my Indy as well, and I tried finding
> out how to read the VINO registers from IRIX, but with no luck.
Indeed, there's probably no easy way to read VINO registers from
userspace.
> I suppose that there must be some kernel-space piece of code to read the GIO
> (?) memory around adress 0x00080000, but I am not able to figure out how to
> do this in IRIX. Perhaps someone (with al little bit more kernel-hacking
> experience) could guide me a little bit on doing this?
That's right idea ((?) - EISA memory space)
> Are there other people beside ladis who are attemping to enhance the VINO
> driver in the linux kernel, and if so, what are your findings?
> I would really like to contribute to VINO development, but it's quite opaque
> matter to me, as the VINO spec is quite unclear and I am not certain what's
> exactly going wrong in the VINO driver.
If you're seriously considering to help with VINO development this link:
http://www.ac3.edu.au/SGI_Developer/books/DevDriver_PG/sgi_html/ch09.html
looks like a good starting point. It's easy, just write driver which
allows you to read VINO registers while capture in progress :)
ladis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VINO
2004-06-08 22:06 ` VINO Ladislav Michl
@ 2004-06-09 12:20 ` Jorik Jonker
2004-06-29 13:42 ` VINO Ladislav Michl
0 siblings, 1 reply; 8+ messages in thread
From: Jorik Jonker @ 2004-06-09 12:20 UTC (permalink / raw)
To: Linux MIPS
On Wed, Jun 09, 2004 at 12:06:04AM +0200, Ladislav Michl wrote:
> If you're seriously considering to help with VINO development this link:
> http://www.ac3.edu.au/SGI_Developer/books/DevDriver_PG/sgi_html/ch09.html
> looks like a good starting point. It's easy, just write driver which
> allows you to read VINO registers while capture in progress :)
Well, it seems not that easy for me. As I told, it's very opaque matter to
me; ie I already figured out that a kernel driver must be built but I really
have no clue on how to do this. For instance, I don't know what call (if
there exists any) should access that memory.
My plan was on writing a driver which allows me (through an ioctl to a special
device) to read/write to the VINO registers. I think I saw a driver example
in the DevDriver_PG which shows how to communicate through ioctl with
userspace (or kernelspace, depends on how you look at it), but the part where
I do the actual 'talking' to the VINO is matter I don't have any clue on how
to do that.
--
Jorik Jonker
http://boeventronie.net/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VINO
2004-06-09 12:20 ` VINO Jorik Jonker
@ 2004-06-29 13:42 ` Ladislav Michl
0 siblings, 0 replies; 8+ messages in thread
From: Ladislav Michl @ 2004-06-29 13:42 UTC (permalink / raw)
To: Linux MIPS; +Cc: Jorik Jonker
On Wed, Jun 09, 2004 at 02:20:46PM +0200, Jorik Jonker wrote:
> Well, it seems not that easy for me. As I told, it's very opaque matter to
> me; ie I already figured out that a kernel driver must be built but I really
> have no clue on how to do this. For instance, I don't know what call (if
> there exists any) should access that memory.
PHYS_TO_K1 macro from <sys/mips_addrspace.h> does the trick. Just use
something like:
#define VINO_BASE 0x00080000
unsigned int reg = * (unsigned int *) PHYS_TO_K1(VINO_BASE + ofs);
Note that VINO registers are 64bit, but only lower 32bits are relevant for
us (the only exception is valid bit in descriptor cache register, which
is not important in this case). Please refer to VINO Design
Specification for more details:
ftp://ftp.linux-mips.org/pub/linux/mips/doc/indy/vino/
> My plan was on writing a driver which allows me (through an ioctl to a special
> device) to read/write to the VINO registers. I think I saw a driver example
> in the DevDriver_PG which shows how to communicate through ioctl with
> userspace (or kernelspace, depends on how you look at it), but the part where
> I do the actual 'talking' to the VINO is matter I don't have any clue on how
> to do that.
I hope you'll find time to make your plan reality.
Best regars,
ladis
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-06-29 13:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-23 23:12 VINO Thomas Bogendoerfer
1998-09-24 16:31 ` VINO Alex deVries
1998-09-24 23:59 ` VINO George Kyriazis
1998-09-24 23:59 ` VINO George Kyriazis
-- strict thread matches above, loose matches on Subject: below --
2004-06-08 12:54 VINO Jorik Jonker
2004-06-08 22:06 ` VINO Ladislav Michl
2004-06-09 12:20 ` VINO Jorik Jonker
2004-06-29 13:42 ` VINO Ladislav Michl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.