mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jimmy Jazz <Jimmy.Jazz@gmx.net>
To: Luca Tettamanti <kronos.it@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Daniel Drake <dsd@gentoo.org>,
	linux list <linux-kernel@vger.kernel.org>
Subject: Re: radeonfb and X800 cards
Date: Thu, 24 May 2007 23:48:32 +0200	[thread overview]
Message-ID: <46560830.2000405@gmx.net> (raw)
In-Reply-To: <20070522193149.GA15040@dreamland.darkstar.lan>

Luca Tettamanti a écrit :
> Il Sun, May 20, 2007 at 02:54:20PM +0200, Jimmy Jazz ha scritto: 
>> @Luca, if i remember well you have a X850, could you please try the
>> patch for me ?
> 
> It does work - sort of; BIOS parsing code is correct. It lacks the
> proper connector detection though (esp. port sharing). ATOM BIOS has a
> different data layout, so this should be added (now radeonfb thinks that
> I've 2 monitors).
> 
> I'll be away this weekend, so I'll try to come up with a patch as soon
> as I return home.
> 
> Luca

Hello,

The fact that you see two monitors doesn't really surprise me  :) .
Also, i'm convinced to move to the mega patch even if i'm not quite sure
all that code is also needed and I know it will unnecessarily increase
the size of the kernel. However, better have much then less. Sure, if
there were any more information on the web about video card
connector/port logic, my knowledge would have been undoubtedly improved.
Anyway, adding (conn->ddc_type == ddc_monid) in the if condition in
radeon_i2c.c works for me as well.

--- /usr/src/model_with-radeon-r400/aty/radeon_i2c.c	2007-04-13
13:35:49.000000000 +0200
+++ radeon_i2c.c	2007-04-13 22:07:16.000000000 +0200
@@ -163,7 +163,7 @@
 		mon_type = MT_NONE;
 		goto done;
 	}
-	if ((edid[EDID_STRUCT_DISPLAY] & 0x80) && (conn->ddc_type == ddc_dvi)) {
+	if ((edid[EDID_STRUCT_DISPLAY] & 0x80) && ((conn->ddc_type == ddc_dvi)
|| (conn->ddc_type == ddc_monid))) {
 		RTRACE("radeonfb: I2C (port %d) ... found TMDS panel\n", conn->ddc_type);
 		mon_type = MT_DFP;
 		goto done;

Thank you for testing the patch.

Jj

      reply	other threads:[~2007-05-24 21:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17  1:47 Daniel Drake
2007-05-17  1:59 ` Benjamin Herrenschmidt
2007-05-17 12:43   ` Luca
2007-05-17 19:59   ` Luca Tettamanti
2007-05-17 20:29     ` Fabio Comolli
2007-05-18  1:26       ` Benjamin Herrenschmidt
2007-05-19 20:33         ` Fabio Comolli
2007-05-19 21:16           ` Fabio Comolli
2007-05-18  1:19     ` Benjamin Herrenschmidt
2007-05-20 12:54       ` Jimmy Jazz
2007-05-22 19:31         ` Luca Tettamanti
2007-05-24 21:48           ` Jimmy Jazz [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=46560830.2000405@gmx.net \
    --to=jimmy.jazz@gmx.net \
    --cc=benh@kernel.crashing.org \
    --cc=dsd@gentoo.org \
    --cc=kronos.it@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome