[RADEON] Connector type

8 messages, 4 authors, 2003-08-29 · open the first message on its own page

[RADEON] Connector type

From: Kronos <hidden>
Date: 2003-08-28 16:21:40

Hi,
currently DDCReg in  radeonfb is hardcoded to CRT  port (secondary port,
primary DAC).

I've working code to detect connector type. On my board it finds the CRT
port  and  DVI  port. The  latter is  ignored  because  dviDisp_type  is
MT_NONE. If crtDisp_type is MT_NONE then it will use the DVI port.

What should I  do if both port  are in use? Read EDID  from primary port
and ignore secondary?

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Software is like sex; it's better when it's free.
Linus Torvalds


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: [RADEON] Connector type

From: Jon Smirl <hidden>
Date: 2003-08-28 16:43:34

Does ATI have a standard default here? When you boot using the ATI VBIOS and no
framebuffer driver, which port gets activated when a monitor is attached to
both CRT and DVI?

Also, aren't there four ports total?
CRT
DVI
TV Out
DFP

I haven't noticed this because I am using the CRT connector of my panel. I've
lost my DVI cable.
--- Kronos <kronos@kronoz.cjb.net> wrote:
Hi,
currently DDCReg in  radeonfb is hardcoded to CRT  port (secondary port,
primary DAC).

I've working code to detect connector type. On my board it finds the CRT
port  and  DVI  port. The  latter is  ignored  because  dviDisp_type  is
MT_NONE. If crtDisp_type is MT_NONE then it will use the DVI port.

What should I  do if both port  are in use? Read EDID  from primary port
and ignore secondary?

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Software is like sex; it's better when it's free.
Linus Torvalds

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: [RADEON] Connector type

From: Kronos <hidden>
Date: 2003-08-28 16:57:41

Il Thu, Aug 28, 2003 at 09:43:33AM -0700, Jon Smirl ha scritto: 
Does ATI have a standard default here? When you boot using the ATI VBIOS and no
framebuffer driver, which port gets activated when a monitor is attached to
both CRT and DVI?
Don't know, I don't have a DVI monitor.
Also, aren't there four ports total?
CRT
DVI
TV Out
DFP
I'm speaking for DDC, I can't do DDC on the TV Out ;)

I can do DDC via VGA, via DVI and via MONID.

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Se non sei parte della soluzione, allora sei parte del problema.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: [RADEON] Connector type

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-08-28 17:03:33

On Thu, 2003-08-28 at 18:20, Kronos wrote:
Hi,
currently DDCReg in  radeonfb is hardcoded to CRT  port (secondary port,
primary DAC).

I've working code to detect connector type. On my board it finds the CRT
port  and  DVI  port. The  latter is  ignored  because  dviDisp_type  is
MT_NONE. If crtDisp_type is MT_NONE then it will use the DVI port.

What should I  do if both port  are in use? Read EDID  from primary port
and ignore secondary?
What about a module/kernel option ? In the meantime, I'm working on
dual head support, though I'm not sure I'll have that finished soon.

Ben.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: Re: [RADEON] Connector type

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-08-28 17:03:46

On Thu, 2003-08-28 at 18:43, Jon Smirl wrote:
Does ATI have a standard default here? When you boot using the ATI VBIOS and no
framebuffer driver, which port gets activated when a monitor is attached to
both CRT and DVI?

Also, aren't there four ports total?
CRT
DVI
TV Out
DFP
BTW, One day, it would be nice if we could get the TVOut working ;) On
Macs at least, we don't have the BIOS to configure it for us...

Ben.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: Re: [RADEON] Connector type

From: Michel Dänzer <hidden>
Date: 2003-08-28 23:27:19

On Thu, 2003-08-28 at 19:02, Benjamin Herrenschmidt wrote:
On Thu, 2003-08-28 at 18:20, Kronos wrote:
quoted
Hi,
currently DDCReg in  radeonfb is hardcoded to CRT  port (secondary port,
primary DAC).

I've working code to detect connector type. On my board it finds the CRT
port  and  DVI  port. The  latter is  ignored  because  dviDisp_type  is
MT_NONE. If crtDisp_type is MT_NONE then it will use the DVI port.
BTW, do you do this the same way as or differently than the XFree86
driver?
quoted
What should I  do if both port  are in use? Read EDID  from primary port
and ignore secondary?
What about a module/kernel option ? In the meantime, I'm working on
dual head support, though I'm not sure I'll have that finished soon.
How do you plan to handle this, create a second framebuffer device?


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: Re: [RADEON] Connector type

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-08-29 07:48:56

How do you plan to handle this, create a second framebuffer device?
Yup.

Ben.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Re: Re: [RADEON] Connector type

From: Kronos <hidden>
Date: 2003-08-29 15:15:36

Il Fri, Aug 29, 2003 at 01:27:16AM +0200, Michel D?nzer ha scritto: 
On Thu, 2003-08-28 at 19:02, Benjamin Herrenschmidt wrote:
quoted
On Thu, 2003-08-28 at 18:20, Kronos wrote:
quoted
Hi,
currently DDCReg in  radeonfb is hardcoded to CRT  port (secondary port,
primary DAC).

I've working code to detect connector type. On my board it finds the CRT
port  and  DVI  port. The  latter is  ignored  because  dviDisp_type  is
MT_NONE. If crtDisp_type is MT_NONE then it will use the DVI port.
BTW, do you do this the same way as or differently than the XFree86
driver?
Same way. If both port are in use DVI is considered primary and VGA
secondary.

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Io mi ricordo sempre il compleanno della mia ragazza:
cade il giorno dopo di quando lei me lo ricorda


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help