public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@gmail.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mike Mestnik <cheako911@yahoo.com>,
	dri-devel <dri-devel@lists.sourceforge.net>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: Design for setting video modes, ownership of sysfs attributes
Date: Sun, 19 Sep 2004 21:06:05 -0400	[thread overview]
Message-ID: <9e47339104091918064fe13cb9@mail.gmail.com> (raw)
In-Reply-To: <1095638860.18428.21.camel@gaston>

I've been talking to the I2C people about the right way to solve this
for the code in radeon_probe_i2c_connector(). This should be solvable
in the I2C framework by writing an EDID driver that implements the
code in it's attach_adapter/detach_adapter functions.  What I2C is
missing is a way to tell it to not run the DDC module on non video
buses. Buses need to be marked with a class like video or ram.

I agree that what you have in the radeon driver works. But this is a
generic problem with DDC monitors, not something that is radeon
specific. If possible I'd like to figure out a solution to this that
will work generically so we don't have to add this same code to all of
the video drivers.  I currently don't have a working solution for the
problem using the I2C framework.

I kept the code for the non-DDC monitor detection as is and just made
an IOCTL around it so that I can trigger it from the user space app.


On Mon, 20 Sep 2004 10:07:40 +1000, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> On Mon, 2004-09-20 at 02:12, Jon Smirl wrote:
> 
> > The radeon driver has that extra code for intializing older DDC. That
> > can be handled generically in the I2C layer by writing a ddc driver
> > that is a superset of the eeprom driver.  I'd rather get that code
> > into a generic driver than repeat it in every video card driver.
> 
> I'm not a fan of this solution as you know... oh well... and there's
> all that code to detect non-DDC capable monitors as well, which won't
> go through /sys/*/i2c...
> 
> But do as you like, I don't have time to work on it so I'll shut up.
> 
> Ben.
> 
> 



-- 
Jon Smirl
jonsmirl@gmail.com

  reply	other threads:[~2004-09-20  1:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-18 18:43 Design for setting video modes, ownership of sysfs attributes Jon Smirl
2004-09-18 19:58 ` Mike Mestnik
2004-09-18 22:12   ` Jon Smirl
2004-09-18 22:37     ` Mike Mestnik
2004-09-18 23:33     ` Keith Packard
2004-09-19  0:54       ` Jon Smirl
2004-09-19  1:57         ` Vladimir Dergachev
2004-09-19  2:16           ` Jon Smirl
2004-09-19  2:32             ` Vladimir Dergachev
2004-09-19 10:11             ` Mike Mestnik
2004-09-19  9:55         ` Mike Mestnik
2004-09-19  4:48     ` Benjamin Herrenschmidt
2004-09-19 16:12       ` Jon Smirl
2004-09-20  0:07         ` Benjamin Herrenschmidt
2004-09-20  1:06           ` Jon Smirl [this message]
2004-09-19  4:45 ` Benjamin Herrenschmidt
2004-09-19 16:46   ` Jon Smirl
2004-09-19 17:19     ` Mike Mestnik
2004-09-19 20:40     ` Keith Packard
2004-09-20 13:02       ` Alan Cox
2004-09-19 20:44     ` Felix Kühling
2004-09-20  1:25       ` Mike Mestnik
2004-09-20  0:10     ` Benjamin Herrenschmidt
2004-09-21 12:45 ` Pavel Machek
2004-09-21 15:56   ` Jon Smirl
2004-09-21 15:42     ` Alan Cox
     [not found] <2FYdH-10h-5@gated-at.bofh.it>
     [not found] ` <2G6Et-6D7-31@gated-at.bofh.it>
2004-09-19 14:18   ` Pascal Schmidt
2004-09-19 15:00     ` P. Benie
2004-09-19 19:08       ` Pascal Schmidt

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=9e47339104091918064fe13cb9@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=benh@kernel.crashing.org \
    --cc=cheako911@yahoo.com \
    --cc=dri-devel@lists.sourceforge.net \
    --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